mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2024-12-22 16:26:25 +00:00
fix typo on skipping/scheduled log message
This commit is contained in:
parent
7fb0fbd467
commit
e61c940d23
@ -17,7 +17,7 @@ const runCronForLocation = (name: string, location: Location) => {
|
|||||||
lock.crons[name] = { lastRun: Date.now() }
|
lock.crons[name] = { lastRun: Date.now() }
|
||||||
writeLock(lock)
|
writeLock(lock)
|
||||||
} else {
|
} else {
|
||||||
console.log(`${name.yellow} ▶ Skipping. Sheduled for: ${parsed.next().toString().underline.blue}`)
|
console.log(`${name.yellow} ▶ Skipping. Scheduled for: ${parsed.next().toString().underline.blue}`)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -30,4 +30,4 @@ export const runCron = () => {
|
|||||||
runCronForLocation(name, location)
|
runCronForLocation(name, location)
|
||||||
|
|
||||||
console.log('\nFinished!'.underline + ' 🎉')
|
console.log('\nFinished!'.underline + ' 🎉')
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user