Announcement Announcement Module
Collapse
No announcement yet.
Problem defining cron expression Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem defining cron expression

    This snippet of configuration data is making my deployment crash:
    <bean id="cronReportTrigger" class="org.springframework.scheduling.quartz.CronT riggerBean">
    <property name="jobDetail">
    <ref bean="sweepTarget"/>
    </property>
    <property name="cronExpression">
    <value>0 5 * * * MON–FRI
    </value>
    </property>
    </bean>

    It's obviously the value in the cronExpression which the XML parser bombs on. I tried it with:
    a CDATA section and it still bombed. Anybody run into this and have a fix.

    Thanks

  • #2
    Can you post the stack trace. I cut and pasted the cronExpression in and got:
    Support for specifying both a day-of-week AND a day-of-month parameter is not implemented.

    Comment

    Working...
    X