[Dev] cron expression

Brett Wooldridge bwooldridge at alterpoint.com
Mon Apr 7 13:52:39 CDT 2008


Hi Rita,

Sorry I missed you in the IRC ... I came back about two minutes after you left.   ZipTie uses an open source scheduler called Quartz.  Quartz supports "cron-like" expressions but is not 100% unix cron compatible.  Here is a reference to the Quartz documentation on cron triggers:

http://www.opensymphony.com/quartz/wikidocs/TutorialLesson6.html

Let me know if you are still having problems.  We did fix some bugs related to scheduling after 2007.12b.  They will be in the upcoming release of ZipTie (planned for sometime the next two weeks).

-Brett


On 4/8/08 3:43 AM, "Rita Machado" <rita.machado at tet.com.br> wrote:

Hi,

I have tried the following cron expression to schedule a job in ZipTie (version: 2007.12b):

0 15 10 * * ?

so that my job is fired at 10:15am every day.

But I got the following exception:

 java.text.ParseException: '?' can only be specified for Day-of-Month -OR- Day-of-Week.

Do you know the correct format for cron expressions so that ZipTie can successfully parse them?

Thank you very much!
Rita,
HP third party software developer.






-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ziptie.org/pipermail/dev/attachments/20080407/1c67da16/attachment.html 


More information about the Dev mailing list