Pull merge
This commit is contained in:
parent
2e1c579097
commit
ce29ae06e6
|
@ -9,10 +9,6 @@ function logMsg(msg) {
|
||||||
|
|
||||||
logMsg('Scheduling tasks')
|
logMsg('Scheduling tasks')
|
||||||
|
|
||||||
function logMsg(msg) {
|
|
||||||
console.log(`[${format(new Date(), 'HH:MM')}] cron: ${msg}`)
|
|
||||||
}
|
|
||||||
|
|
||||||
cron.schedule(
|
cron.schedule(
|
||||||
'*/5 * * * *',
|
'*/5 * * * *',
|
||||||
async () => {
|
async () => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user