run system checks immediately post activation

this will notify about backup configuration
This commit is contained in:
Girish Ramakrishnan
2019-02-06 11:15:46 -08:00
parent 89446d56e0
commit 31d0a5c40e
2 changed files with 5 additions and 4 deletions

View File

@@ -118,8 +118,9 @@ function recreateJobs(tz) {
if (gJobs.systemChecks) gJobs.systemChecks.stop();
gJobs.systemChecks = new CronJob({
cronTime: '00 30 * * * *', // every hour
onTick: cloudron.systemChecks,
onTick: cloudron.runSystemChecks,
start: true,
runOnInit: true, // run system check immediately
timeZone: tz
});