You need to sign in to do that
Don't have an account?

CRON Scheduling
I'm looking to schedule a process to run on the 1,8,12,16 days at 1AM in the months 3,6,9,12 every year.
I have the following CRON string:
0 0 1 1,8,12,16 3,6,9,12 ? *
It works, but it doesn't reschedule itself. It simply finds the next date in the future, runs it and then doesn't re-schedule for the next.
Any ideas?
try with this
string str = '0 0 1 1-8-12-16 3-6-9-12 *';
It won't work. It gives the following error:
Support for specifying both a day-of-week AND a day-of-month parameter is not implemented.
Also, doesn't the dash signify a range instead of specific day?