[Dev] cron expression

Brett Wooldridge bwooldridge at alterpoint.com
Mon Apr 7 14:12:22 CDT 2008


Kartick,

This is a bug that DAR found in Japan.  We fixed it.  I'm trying to track down the fix...

-Brett

On 4/8/08 4:10 AM, "Kartick Suriamoorthy" <ksuriamoorthy at alterpoint.com> wrote:

Rita,

You are right, I had a fresh install of 2007.12b and I get the same error
for both (0 15 10 * * ?) and (0 15 10 * * ? *) - which are valid expressions
according to the Quartz docs page.

I guess there is a bug in ZipTie, unless somebody else knows what is
going on ...

Thanks,
Kartick

________________________________
From: dev-bounces at ziptie.org [mailto:dev-bounces at ziptie.org] On Behalf Of Rita Machado
Sent: Monday, April 07, 2008 1:55 PM
To: ZipTie Development List
Subject: Re: [Dev] cron expression

Actually, the cron expression I used was taken from the html page you mentioned below. But surprisingly, ZipTie is not accepting it.

This expression (0 15 10 * * ?) works for you?

Thanks a lot,
Rita Machado,
HP third party software developer.

Kartick Suriamoorthy wrote:

Rita,



We use the quartz scheduler to schedule jobs which in  turn uses cron expressions.



You will find this page helpful  :



http://quartz.sourceforge.net/javadoc/org/quartz/CronTrigger.html



Thanks,

Kartick


________________________________
From: dev-bounces at ziptie.org [mailto:dev-bounces at ziptie.org] On  Behalf Of Rita Machado
Sent: Monday, April 07, 2008 1:44  PM
To: ZipTie Development List
Subject: [Dev] cron  expression

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.





________________________________

_______________________________________________
Dev mailing list
Dev at ziptie.org
http://mailman.ziptie.org/listinfo/dev



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


More information about the Dev mailing list