Schedule jobs for hosted websites #104

Merged
parkel merged 5 commits from feature/website-scheduled-jobs into main 2026-11-22 16:04:27 +01:00
Owner

Summary

  • Let customers, assigned resellers, and permitted operators schedule jobs for the primary website or an active independent site.
  • Add account-wide plan limits and five-field UTC cron schedules. Show the next run, last result, and exit code where available.
  • Dispatch through the local Celery worker and run commands as the website's Unix user in its document root. Enforce a 60-second deadline, skip missed runs, and avoid replaying a run with an unconfirmed result.
  • Block jobs for suspended or retired sites and document the opt-in installation steps and service health check.

Verification

  • Passed all 490 Django tests, Ruff checks, the migration drift check, and source and wheel verification.
  • Tested the Celery worker with RabbitMQ and the systemd receiver on Ubuntu 26.04 LTS. Verified the primary and independent website identities, cross-account isolation, duplicate delivery, exit status reporting, timeout handling, suspension, and retirement.

Closes #96.

## Summary - Let customers, assigned resellers, and permitted operators schedule jobs for the primary website or an active independent site. - Add account-wide plan limits and five-field UTC cron schedules. Show the next run, last result, and exit code where available. - Dispatch through the local Celery worker and run commands as the website's Unix user in its document root. Enforce a 60-second deadline, skip missed runs, and avoid replaying a run with an unconfirmed result. - Block jobs for suspended or retired sites and document the opt-in installation steps and service health check. ## Verification - Passed all 490 Django tests, Ruff checks, the migration drift check, and source and wheel verification. - Tested the Celery worker with RabbitMQ and the systemd receiver on Ubuntu 26.04 LTS. Verified the primary and independent website identities, cross-account isolation, duplicate delivery, exit status reporting, timeout handling, suspension, and retirement. Closes #96.
parkel added 5 commits 2026-11-22 15:44:42 +01:00
parkel added the area/hostingarea/panel
kind
feature
labels 2026-11-22 15:44:42 +01:00
parkel merged commit af58151ee2 into main 2026-11-22 16:04:27 +01:00
parkel deleted branch feature/website-scheduled-jobs 2026-11-22 16:04:27 +01:00
Sign in to join this conversation.