run cronjob at the end of config-services script (when using --apply), thx v3ng

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2018-03-06 11:05:26 +01:00
parent 0c43c5d2b5
commit a621fd3b09

View File

@@ -357,6 +357,9 @@ class Action
}
}
}
// run cronjob at the end to ensure configs are all up to date
exec('php ' . FROXLOR_INSTALL_DIR . '/scripts/froxlor_master_cronjob.php --force');
// and done
CmdLineHandler::printsucc("All services have been configured");
} else {
CmdLineHandler::printerr("Unable to decode given JSON file");