after a new installation, insert a task for generating the cron.d file, also let cronjob's --force re-create the cron.d file
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -47,6 +47,8 @@ for ($x = 1; $x < count($argv); $x++) {
|
||||
// really force re-generating of config-files by
|
||||
// inserting task 1
|
||||
inserttask('1');
|
||||
// also regenerate cron.d-file
|
||||
inserttask('99');
|
||||
addToQueue($jobs_to_run, $crontasks);
|
||||
$lastrun_update['tasks'] = $crontasks;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user