cancel
Showing results for 
Search instead for 
Did you mean: 

How to set Start time and end time for deployments, set Time cycle as CRON

sharat
Champ in-the-making
Champ in-the-making
Hello All,

How can I set the start time(fire the first job at a given time) and end time(next instance should not be created) for a deployment  by setting a CRON string in the time cycle ?

Also why I need a CRON String is ,  set the CRON string for the jobs that has to start like MON,TUE at 10:15 AM.

Can some one please help.Any suggestions would be really helpful

Thanks,
3 REPLIES 3

jbarrez
Star Contributor
Star Contributor
I don't quite get what you're looking for, but it does sound like something that is not supported out of the box in Activiti.
Also, timer are not related to deployments, but to process definitions.

Anyway, could you elaborate a bit?

sharat
Champ in-the-making
Champ in-the-making
Thanks for the response.

Our Scenario in detail :
The business scenario is for scheduling the process definition to create the instance in the scheduled intervals.
like  setting up the 'R3/2013-06-25T12:00:00/P1D' (ISO format) in the timer event definition, will schedule the process definition to run from that startdate for 3 times and with a interval of 1 day between each.

Likewise the documentation also suggests we can use the CRON(Quartz1.x) for setting the timeCycle for process definition, And we would like to use this functionality for scheduling some typical non regular intervals jobs. for e.g. Mon and Tue every other week for a single process definition.

How can I accomplish this and If I have to set the end date for the process definition (to not create an instance after a end date).

Any help or suggestions will be really helpful and please let me know if I need to elaborate more.

Thanks,
Sharat

trademak
Star Contributor
Star Contributor
I'm not really a CRON expert, but there's quite a lot of information available on the web when you search for this.

Best regards,