Moodle Scheduled Tasks: Single CLI Cron Architecture Note
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.