PHP error category
Cron
Scheduled PHP tasks.
Cron errors arise when scheduled php tasks affect an executing PHP application or its supporting service. Use the exact signature and runtime context to narrow the cause before changing configuration.
The guides in this category separate code defects from environment differences, show focused diagnostics, and favor site-scoped corrections that preserve unrelated applications.
Guides in this category
| Title | Pattern | Severity |
|---|---|---|
| Cron PHP environment variables are missing | RuntimeException: Required environment variable %s is not set |
error |
| Cron PHP mail or PATH command fails | sh: 1: %s: not found |
warning |
| Cron uses the wrong PHP path | /bin/sh: %s: No such file or directory |
error |