Upload via GUI (335 Dateien)
This commit is contained in:
@@ -64,7 +64,7 @@ function detect_php_cli_binary(): string
|
||||
return 'php'; // Fallback: hoffen, dass PATH im Cron-Kontext passt
|
||||
}
|
||||
|
||||
/** Baut den verwalteten DeskHub-Block mit den 6 Job-Zeilen (fest hinterlegte Kommandos, keine Nutzereingabe). */
|
||||
/** Baut den verwalteten DeskHub-Block mit den Job-Zeilen (fest hinterlegte Kommandos, keine Nutzereingabe). */
|
||||
function crontab_marker_block(): string
|
||||
{
|
||||
$php = detect_php_cli_binary();
|
||||
@@ -72,6 +72,7 @@ function crontab_marker_block(): string
|
||||
$lines = [
|
||||
DESKHUB_CRON_MARKER_START,
|
||||
"*/5 * * * * $php $root/cron/fetch_emails.php >> $root/cron/fetch_emails.log 2>&1",
|
||||
"* * * * * $php $root/cron/run_plugins.php >> $root/cron/run_plugins.log 2>&1",
|
||||
"*/15 * * * * $php $root/cron/check_sla.php >> $root/cron/check_sla.log 2>&1",
|
||||
"0 * * * * $php $root/cron/check_escalations.php >> $root/cron/check_escalations.log 2>&1",
|
||||
"0 6 * * * $php $root/cron/process_recurring.php >> $root/cron/process_recurring.log 2>&1",
|
||||
|
||||
Reference in New Issue
Block a user