Added more restart points
This commit is contained in:
parent
73ba5ff470
commit
0f16870f5d
|
@ -66,7 +66,17 @@ cron.schedule('0 0 2 * * *', () => {
|
|||
deleteOldNetworkStats()
|
||||
})
|
||||
|
||||
// Exit process at 3AM to force a restart
|
||||
cron.schedule('0 0 3 * * *', () => {
|
||||
// Exit process at 5AM to force a restart
|
||||
cron.schedule('0 0 5 * * *', () => {
|
||||
process.exit(0)
|
||||
})
|
||||
|
||||
// Exit process at 12PM to force a restart
|
||||
cron.schedule('0 0 12 * * *', () => {
|
||||
process.exit(0)
|
||||
})
|
||||
|
||||
// Exit process at 6PM to force a restart
|
||||
cron.schedule('0 0 18 * * *', () => {
|
||||
process.exit(0)
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue
Block a user