DirectAdmin Manual

Helping you get the most out of DirectAdmin and your web!

CRON troubleshooting

SymptomCheck
The job does not runserver time, all five schedule fields, absolute path and whether the job was saved
Works in a browser but not in CRONCLI PHP version, working directory, environment variables and relative paths
Permission deniedowner, permissions and interpreter; never use 777
Command not foundthe full program path or an available command
Too many emailsfix the output first, then configure logging or suppression
Multiple overlapping runsincrease the interval or use an application-supported lock

Recommended diagnostic procedure

  1. Copy the exact DirectAdmin command and run it over SSH as the same user.
  2. Temporarily remove >/dev/null 2>&1 and write output to a log.
  3. Verify php -v, the file path and filename letter case.
  4. For a URL, test with curl --fail --show-error.
  5. Check the application log, website error log, free disk space and account limits.

What to send support

Include the server hostname, account name, last attempt time, schedule, command without secret tokens and the exact error or relevant log lines. Never send passwords or API keys.

Back to chapter overviewContact Euroserver support