Results 1 to 2 of 2

Thread: Problem defining cron expression

  1. #1
    Join Date
    Jan 2005
    Posts
    18

    Default 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. #2
    Join Date
    Aug 2004
    Location
    Melbourne, Australia
    Posts
    1,104

    Default

    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.

Similar Threads

  1. Replies: 0
    Last Post: Jul 19th, 2005, 02:31 AM
  2. Replies: 1
    Last Post: Jul 5th, 2005, 03:48 AM
  3. pagination and continuation problem in SWF
    By yfmoan in forum Web Flow
    Replies: 6
    Last Post: Jun 29th, 2005, 03:42 AM
  4. Spring + Hibernate ORA-00936: missing expression
    By Hugh_la_Main in forum Data
    Replies: 1
    Last Post: Jun 28th, 2005, 08:48 AM
  5. Simple Regular expression problem
    By schuer in forum AOP
    Replies: 3
    Last Post: Feb 22nd, 2005, 03:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •