Send alive beacon every hour

This commit is contained in:
Johannes Zellner
2016-11-16 15:01:23 +01:00
parent 4a264ba8c5
commit 40fa3818cc
+1 -1
View File
@@ -55,7 +55,7 @@ function initialize(callback) {
cloudron.sendHeartbeat(); // latest unpublished version of CronJob has runOnInit
gAliveJob = new CronJob({
cronTime: '00 */1 * * * *', // every minute
cronTime: '00 23 * * * *', // every hour on a somewhat odd 23 minute after full probably should be randomly spread out over a day?
onTick: cloudron.sendAliveStatus,
start: true
});