feat: schedule with busybox crond instead of supercronic #3

Merged
trex Bot merged 1 commits from feat/crond-scheduler into main 2026-11-24 22:24:36 -06:00
1 Commits
Author SHA1 Message Date
trex Bot ce825c7526 feat: schedule with busybox crond instead of supercronic
Same scheduler qbit-maid uses: entrypoint.sh writes the crontab and execs
crond -f. Drops the supercronic package from the image.

- crontab lives in /tmp/crontabs because the rootfs is read-only
- MAILTO= keeps job output on crond's stdout/stderr (container log), which
  is what supercronic -passthrough-logs provided
- busybox crond only loads crontab files owned by uid 0 and calls
  initgroups() per job, so the container needs root + CAP_SETGID; the
  entrypoint now fails fast (exit 78) when it is not root
- no @reboot job: a container restart must not start a backup
2026-11-24 22:24:29 -06:00