CRON troubleshooting
| Symptom | Check |
|---|---|
| The job does not run | server time, all five schedule fields, absolute path and whether the job was saved |
| Works in a browser but not in CRON | CLI PHP version, working directory, environment variables and relative paths |
| Permission denied | owner, permissions and interpreter; never use 777 |
| Command not found | the full program path or an available command |
| Too many emails | fix the output first, then configure logging or suppression |
| Multiple overlapping runs | increase the interval or use an application-supported lock |
Recommended diagnostic procedure
- Copy the exact DirectAdmin command and run it over SSH as the same user.
- Temporarily remove
>/dev/null 2>&1and write output to a log. - Verify
php -v, the file path and filename letter case. - For a URL, test with
curl --fail --show-error. - 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.