How to Check if a Cron Job has Run?

> Please login to your SSH client 

> After login with the root access user please use these commands to check the log for the corn scripts,

grep "cronscript.php" /var/log/cron

> Please hit the enter on the output you can see the Date and Time when the CORN has been ran

Feb 24 02:33:02 ecbiz108 crond[9772]: (userna5) CMD (php -q /home/userna5/public_html/cronscript.php)
Feb 25 02:33:01 ecbiz108 crond[16587]: (userna5) CMD (php -q /home/userna5/public_html/cronscript.php)
Feb 25 11:45:01 ecbiz108 crond[21887]: (userna5) CMD (php -q /home/userna5/public_html/cronscript.php)
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to Create a Thumbnail Image Using Thumbnailer in cPanel?

Please note The images that you want to create thumbnails must have uploaded to your cPanel...

How to Suspend or Unsuspend cPanel Accounts?

How to Suspend cPanel Accounts > Please sign in to your WHM account > Please choose...

How to Add Addon Domains in cPanel?

> Please log in to your cPanel account > Please go to Addon Domains under Domains  >...

How to modify an Addon Domain Document Root in cPanel?

> Please click on Addon Domains in cPanel. > Please double-click on the pencil-like icon...

How to remove an Addon Domain?

> Please click on the Addon Domains icon in cPanel > Please scroll down the page and find...

Powered by WHMCompleteSolution