My Cron Job Is Not Running Print

  • cronjobsscheduledtasks, cron, php, email, errors, suspension, support, guide
  • 0

Diagnosis.

CHECK THE PATH

The most common cause. A wrong or relative path means nothing runs.

Use absolute paths, starting from your home directory.

CHECK THE INTERPRETER

The PHP binary path must be correct.

If your account uses multiple PHP versions, the default may not be the right one.

CHECK THE SCHEDULE

An incorrectly entered schedule may mean the job runs at a time you did not expect, or never.

CHECK FOR OUTPUT

Set the email field temporarily. If the job runs, you receive something, including errors.

Silence means it is not running at all.

CHECK THE SCRIPT WORKS

If you can run it another way, do.

A broken script fails whether cron calls it or not.

CHECK THE ACCOUNT

A suspended account does not run cron jobs.

CHECK THE ERROR LOG

Errors from cron-run scripts appear there.

IF NONE OF THAT HELPS

Open a ticket with the exact command you entered.


Was this answer helpful?
Back

Are you happy with your experience? Leave us a review on Trustpilot.


Trustpilot