Diagnosing Moodle Cron and Scheduled Task Failures
A step‑by‑step diagnostic guide for Moodle cron and scheduled task failures: recognize stuck runs, map symptoms to root causes, run ordered checks, apply targeted fixes, and know when to escalate.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
A step‑by‑step diagnostic guide for Moodle cron and scheduled task failures: recognize stuck runs, map symptoms to root causes, run ordered checks, apply targeted fixes, and know when to escalate.
Keep Moodle background work on a single CLI cron entrypoint run as the web service user, with observable task logs and clear trust and data boundaries. Know when to move to a queue or worker split.
Environment variable DATABASE_URL not set Deploying a Railway project without the DATABASE_URL environment variable triggers the CLI to abort with the explicit error message: Environment variable DATABASE_URL not set While the container runtime honors a TZ variable, scheduled tasks continue to run in UTC and the platform provides no documented option to over