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:
@@ -285,6 +285,7 @@ class FroxlorInstall {
|
|||||||
$message = $this->_lng['install']['froxlor_succ_installed'];
|
$message = $this->_lng['install']['froxlor_succ_installed'];
|
||||||
$link = '../index.php';
|
$link = '../index.php';
|
||||||
$linktext = $this->_lng['click_here_to_login'];
|
$linktext = $this->_lng['click_here_to_login'];
|
||||||
|
inserttask('99');
|
||||||
}
|
}
|
||||||
|
|
||||||
eval("\$navigation .= \"" . $this->_getTemplate("pagebottom") . "\";");
|
eval("\$navigation .= \"" . $this->_getTemplate("pagebottom") . "\";");
|
||||||
|
|||||||
@@ -47,6 +47,8 @@ for ($x = 1; $x < count($argv); $x++) {
|
|||||||
// really force re-generating of config-files by
|
// really force re-generating of config-files by
|
||||||
// inserting task 1
|
// inserting task 1
|
||||||
inserttask('1');
|
inserttask('1');
|
||||||
|
// also regenerate cron.d-file
|
||||||
|
inserttask('99');
|
||||||
addToQueue($jobs_to_run, $crontasks);
|
addToQueue($jobs_to_run, $crontasks);
|
||||||
$lastrun_update['tasks'] = $crontasks;
|
$lastrun_update['tasks'] = $crontasks;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user