cancel
Showing results for 
Search instead for 
Did you mean: 

Allowed Cron syntax when scheduling a server task

Jump to solution

Does anyone have an example of a cron syntax for 0700 saturday through 0700 monday?

Thanks in advance.

1 Solution

Accepted Solutions
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 4 of 5

Re: Allowed Cron syntax when scheduling a server task

Jump to solution

I reckon this should work:

0 0 7 ? * 1-6

Regards -

Joe

4 Replies
kink80
Level 12
Report Inappropriate Content
Message 2 of 5

Re: Allowed Cron syntax when scheduling a server task

Jump to solution

I think it woul be 0 7 * * 1-6

This would be at 0700 everyday of every month M-Sat

You can double check it at http://adminschoice.com/crontab-quick-reference

Re: Allowed Cron syntax when scheduling a server task

Jump to solution

Thanks for the example, but I get "The cron expression is invalid. "

McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 4 of 5

Re: Allowed Cron syntax when scheduling a server task

Jump to solution

I reckon this should work:

0 0 7 ? * 1-6

Regards -

Joe

Re: Allowed Cron syntax when scheduling a server task

Jump to solution

Thanks Joe!

That set me on the right path.