Skip to content
GINERNET Manager

Checking the output of a cron job

· View as Markdown

If you are not sure whether a cron job is running correctly, you do not need a Terminal: cPanel can email you the output of each run.

  1. In cPanel, open Cron Jobs.

Cron Jobs button in cPanel

  1. Under Email, enter an address of yours and keep sending enabled when the command produces output. If the command ends with >/dev/null 2>&1, remove that part: it silences all output and no email will arrive.

  2. Run the job with Run Now (if your cPanel shows it) or wait for the next scheduled time. Check the mailbox: the email body is the command output.

What if I get no output?

  • If the command returns no output and no error, talk to the developer of that application so they enable a log or on-screen debugging.
  • If the result is an error or a message you do not understand, open a ticket and we will help you interpret it.
  • If you think the cron job is not running at all, edit it and save it again: this forces it to be re-registered.

Shared hosting (cPanel and WHM) does not include SSH or Terminal access. If you need to run commands by hand in a console, order a VPS.