Could you tell me how I could configure the 'cron' file to run a task every 12 minutes in the windows of 8am-9am, 12-1pm, 5-7pm. I have the following line in my cron file:
*/12 8,12,17-24 * * * mypackage.TaskRunner#deployApplication
It seems that this runs every 12 minutes of *every* hour, not in the windows of time that it appears it should.
Please let me know if I'm doing something wrong... -thanks-
Sorry - user error. I gave you an example from one server when the jcrontab was running on another.
Thanks,
Log in to post a comment.
Could you tell me how I could configure the 'cron' file to run a task every 12 minutes in the windows of 8am-9am, 12-1pm, 5-7pm. I have the following line in my cron file:
*/12 8,12,17-24 * * * mypackage.TaskRunner#deployApplication
It seems that this runs every 12 minutes of *every* hour, not in the windows of time that it appears it should.
Please let me know if I'm doing something wrong...
-thanks-
Sorry - user error. I gave you an example from one server when the jcrontab was running on another.
Thanks,