crontab Run Custom schedule question
I googled a bit, and I think I have this right (it seems easy enough) but I don't deal with cron ever (well, yearly maybe) so I wanted to make sure this is right the first time.
I want to patch the servers over the weekend. I have "overnight" (5am) and "afternoon" (3pm) servers so I need 2 schedules.
Is this correct?
* 5 * * 6,0
* 15 * * 6,0
Thanks!
0 Comments
[ + ] Show comments
Answers (2)
Answer Summary:
Please log in to answer
Posted by:
Timi
11 years ago
Posted by:
mlbx
11 years ago
Is that first asterisk 'every minute'?
Put the values into the crontab sandbox (www.CronBuddy.com) and you will see a list of the run times.
Comments:
-
That site is exactly what I was looking for. I changed it to 0 5 * * 6,0. Thanks! - DanHarmon 11 years ago
-
For others who might find this post, that crontab sandbox is now at www.dataphyx.com - mlbx 11 years ago
-
This crontab trainer/tutorial now has its own domain at www.cronsandbox.com - mlbx 10 years ago