do not allow multiple instances

This commit is contained in:
2020-05-17 18:13:50 +02:00
parent f9c645120b
commit 1520e10a59
4 changed files with 57 additions and 38 deletions

View File

@@ -93,8 +93,11 @@ export type Config = {
}
export type Lockfile = {
[name: string]: {
lastRun: number
running: boolean
crons: {
[name: string]: {
lastRun: number
}
}
}