/build/static/layout/Breadcrumb_cap_w.png

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:
Posted by: Timi 11 years ago
7th Degree Black Belt
2

It looks correct. There is an online generator/checker for crontab jobs:

http://cron.nmonitoring.com/cron-generator.html

Posted by: mlbx 11 years ago
White Belt
1

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

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ