Migrated sites lost their crontabs (cPanel to Enhance); audit apps that need cron
Imported from GitHub issue El-SaMa/oma#231 by @El-SaMa.
Found 2026-10-15 via Jatta (laskutus.terapiajatta.fi, Invoice Ninja): reminders stopped after 2026-08-20. Crontab file for laskutus1 on laituri was created empty on 2026-08-28 (migration).
- laituri and satama: every /var/spool/cron/crontabs file is 0 bytes, so no migrated site has any cron.
- OMA cron add (portal, oma.manage_cron, App Market install cron) always failed with orchd 400
missing field lineNumber. Fixed in a6b8a70d. - ranta (2.29.17.109): SSH host key changed vs known_hosts, so not audited. Verify the key is legit first.
To do:
- List migrated sites that are not plain WordPress (Laravel, Invoice Ninja, custom PHP) and add their scheduler crons with the site PHP (/opt/ecp-phpXX/bin/php).
- Check old cPanel crontabs in JetBackup if available, to restore exact jobs.
- Confirm ranta host key change, then audit ranta.
- Staff note: use /opt/ecp-phpXX/bin/php in cron, never bare php (node PHP 8.1).