Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I hope I am asking this question correctly. I am trying to run all jobs that are setup on my server, by nano /etc/crontab I see the list of:

# m h dom mon dow user  command
27 *    * * *   root    cd / && run-parts --report /etc/cron.hourly
58 15    * * *   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
0 15    * * 7   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
20 15    1 * *   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )

Is it possible to execute crontab to kick off all these jobs, or force them to run?

I am trying to confirm they are actually running.

share|improve this question

3 Answers 3

up vote 6 down vote accepted

If you want to check if they are executed, use:

grep -i cron /var/log/syslog
share|improve this answer
thank you @Can, that's exactly what I was looking for –  chrishough Oct 1 '11 at 19:36
To test anacron jobs, try this: echo '20141201' > /var/spool/anacron/cron.monthly; anacron -n -f cron.monthly;. There are naming constraints on the scripts under /etc/cron.*. You might also want to check if run-parts is finding your script: run-parts --test /etc/cron.monthly –  TrinitronX Jan 22 at 9:02

Just do what cron does.

  • run-parts -v /etc/cron.daily
  • run-parts -v /etc/cron.weekly
  • etc

-v prints the script names before they are run

share|improve this answer

If you would like to just check that cron is running, you can do the following:

service cron status
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.