How To check if cron Is Running

How To Check That Cron is Running

Crons are scheduled tasks that run on a time base on the website. Some cron jobs may be configured to send output or scripts (file,image webpage output)and others to perform simple tasks work behind the scenes. Therefore its important to confirm that a set cron job has run at the specified time.

How to check its running

  • Log in to the server through SSH in client area.
  • Use a command such as cronscript.php.Tap on the server log and check the word cron in the log files because files may differ from system to system. It should read as(var/log/cron). It will show the date the cron ran,server name, cron ID,cpanel username and the command.
  • If the cron didnt run the message will be like;Nov
    02 17:10:01 testbox CRON[2210]: (user
    name)
    CMD
    wrong info code
    (crontabs /testuser)

Was this article helpful?

Related Articles

Leave A Comment?