Gnana Prasuna wrote:
I need to build cron Expression for the below occurences. Can some body help me on this.
The occurence is:
1.)fire event at 12:30 start at 18/2/2009 and end by 25/2/2010.
2.) fire event between 12:15 and 13:45 start at 18/2/2009 and end by 25/2/2010.
[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
* - - used to specify ranges. For example, "10-12" in the hour field means "the hours 10, 11 and 12".
* , - used to specify additional values. For example, "MON,WED,FRI" in the day-of-week field means "the days Monday, Wednesday, and Friday".
[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Gnana Prasuna wrote:
1.)fire event at 12:30 start at 18/2/2009 and end by 25/2/2010.
0 30 12 ???2009-2010. For the above expression i am confused about how to build the month and day oy month fields.
[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Gnana Prasuna wrote: i would like to fire the expression for only 10 times or occurences. Is this case valid?
[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Gnana Prasuna wrote:
'0 30 12 * * ? ' and i will set start date and end date using cronTrigger. will it fire as mentioned above?
[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Gnana Prasuna wrote:Thanks Sagar Rohankar for your reply..
Gnana Prasuna wrote:
Fires every 2 days at 11:30 start at 21/3/2009 and end at 25/5/2010
0 30 11 21/2 * ? ? and i will set start and end date using cronTrigger. Is this expression correct for the abobe fire?
For day of month i used 21/2 because start date is 21 and for every 2 days it has to fire ....
Gnana Prasuna wrote:
.....and shall i use under month field as 3/1 instaed of * which means start at 3rd month and increment by 1.
[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Gnana Prasuna wrote:
fire event on first week day of every month.
[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Every snowflake is perfect and unique. And every snowflake contains a very tiny ad.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
|