Dirc
1
Is it possible to call an scheduler like this:
plugins.scheduler.addCronJob("11_hr", '0 var_m var_h * * ? ' , globals.CRON, null, null, null) //iedere dag
instead of:
plugins.scheduler.addCronJob("11_hr", '0 0 11 * * ? ' , globals.CRON, null, null, null) //iedere dag
Dirc
2
or should it be:
plugins.scheduler.addCronJob("11_hr", '0 ' + var_m + ' ' + var_h + ' * * ? ' , globals.CRON, null, null, null) //iedere dag
IT2Be
3
Dirc, hard to tell without testing (a little too much work right now
).
You should be able to find what you need here: https://quartz.dev.java.net/