Cron is a time-based job scheduler in Unix-like computer operating systems. Cron enables users to schedule jobs (commands or shell scripts) to run periodically at certain times or dates.

learn more… | top users | synonyms (2)

2
votes
3answers
2k views

the error occured a command in sudo from crontab

When I execute shell, but it is carried out by cron "sudo: sorry, you must have a tty to run sudo" appears. but how should this have dealt?
2
votes
5answers
335 views

Making a crontab more efficient

I run a relatively simple server with a couple of web sites that I maintain. I set up a crontab to dump the mysql and zip up the PHP daily. Rotating over a week I have 7 increments of whatever has ...
1
vote
5answers
1k views

Unix Crontab Job Time Conflict? [duplicate]

I have the following two entries in my Crontab job that are set to start at 10:00am. Job #1 0,20 10 * * 1-5 ./run_program_A Job #2 0,20 10 * * 1-5 ./run_program_B At 10:15, I checked my log ...
3
votes
4answers
1k views

What does “every two minutes” mean in cron?

I've got two scripts in cron set to run every two minutes: */2 -- the thing is, they're out of step. One runs at 1,3,5,7,9 minutes, etc. and the other at 0,2,4,6,8. This is not a mission-critical ...