Turn cron on by default for new installs so adding the cron job is the only step - database 3.6.2 changes the default of settings.config_enable_cron to 1 and nothing else, so an existing install keeps its setting on or off, and setup/seed_data.php sets it for both setup paths; Get started's cron step is now Add the cron job with a line for hosting control panels such as Jabali, HestiaCP and cPanel, and shows Turn cron back on only when someone has switched it off; the setup page and setup_cli no longer say cron ships off, CONTRIBUTING's master switch section explains the new default, changelog updated

This commit is contained in:
johnnyq
2026-11-06 14:26:50 -05:00
parent b391e2ce6c
commit 172cd4933e
8 changed files with 42 additions and 25 deletions

View File

@@ -422,10 +422,9 @@ if ($backup_key !== '') {
echo "\nBackup key - keep a copy somewhere safe, away from this server; a backup can't be restored without it:\n\n";
echo " $backup_key\n";
}
echo "\nNext, before ITFlow can send mail, parse tickets or bill anyone:\n\n";
echo " 1. Add this single entry to the crontab of the user that owns the ITFlow files:\n\n";
echo "\nNext, before ITFlow can send mail, parse tickets or bill anyone, add this single entry\n";
echo "to the crontab of the user that owns the ITFlow files:\n\n";
echo " * * * * * php $itflow_path/cron/cron.php >/dev/null\n\n";
echo " 2. Turn cron on in Maintenance > Cron. It ships off, and every job stops\n";
echo " itself until it is enabled. Per-job schedules live on the same page.\n\n";
echo "Jobs start as soon as it runs. Their schedules are in Maintenance > Cron.\n\n";
exit(0);