forked from DiscordBots/lilJudd
fix: fixed api schedulers
Signed-off-by: moonleay <contact@moonleay.net>
This commit is contained in:
parent
e9babd0d74
commit
95f6772581
4 changed files with 4 additions and 4 deletions
|
@ -31,7 +31,7 @@ object Splatoon3ApiFestivalAndCoopUpdateScheduler : ICronjob {
|
||||||
override val jobName: String
|
override val jobName: String
|
||||||
get() = "Splatoon3ApiFestivalAndCoopUpdateScheduler"
|
get() = "Splatoon3ApiFestivalAndCoopUpdateScheduler"
|
||||||
override val jobIncoming: String
|
override val jobIncoming: String
|
||||||
get() = "0 0 0 /1 *" // once a day
|
get() = "0 0 0 /1 * * 0o *" // once a day
|
||||||
override val jobType: CronjobType
|
override val jobType: CronjobType
|
||||||
get() = CronjobType.INFINITE
|
get() = CronjobType.INFINITE
|
||||||
override val continueJob: Boolean
|
override val continueJob: Boolean
|
||||||
|
|
|
@ -31,7 +31,7 @@ object Splatoon3ApiScheduleUpdateScheduler : ICronjob {
|
||||||
override val jobName: String
|
override val jobName: String
|
||||||
get() = "Splatoon3ApiScheduleUpdateScheduler"
|
get() = "Splatoon3ApiScheduleUpdateScheduler"
|
||||||
override val jobIncoming: String
|
override val jobIncoming: String
|
||||||
get() = "0 /30 * * *" //Every 30 minutes
|
get() = "0 0 /1 * * * 0o *" //Every hour
|
||||||
override val jobType: CronjobType
|
override val jobType: CronjobType
|
||||||
get() = CronjobType.INFINITE
|
get() = CronjobType.INFINITE
|
||||||
override val continueJob: Boolean
|
override val continueJob: Boolean
|
||||||
|
|
|
@ -31,7 +31,7 @@ object Splatoon3ApiSplatnetGearUpdateScheduler : ICronjob {
|
||||||
override val jobName: String
|
override val jobName: String
|
||||||
get() = "Splatoon3ApiSplatnetGearUpdateScheduler"
|
get() = "Splatoon3ApiSplatnetGearUpdateScheduler"
|
||||||
override val jobIncoming: String
|
override val jobIncoming: String
|
||||||
get() = "* * /6 * *" //Every 6 hours
|
get() = "0 0 /6 * * * 0o *" //Every 6 hours
|
||||||
override val jobType: CronjobType
|
override val jobType: CronjobType
|
||||||
get() = CronjobType.INFINITE
|
get() = CronjobType.INFINITE
|
||||||
override val continueJob: Boolean
|
override val continueJob: Boolean
|
||||||
|
|
|
@ -30,7 +30,7 @@ object StatusUpdater : ICronjob {
|
||||||
override val jobName: String
|
override val jobName: String
|
||||||
get() = "StatusUpdater"
|
get() = "StatusUpdater"
|
||||||
override val jobIncoming: String
|
override val jobIncoming: String
|
||||||
get() = "/6 * * * *" //Every 6 seconds
|
get() = "/5 * * * * * 0o *" //Every 5 seconds
|
||||||
override val jobType: CronjobType
|
override val jobType: CronjobType
|
||||||
get() = CronjobType.INFINITE
|
get() = CronjobType.INFINITE
|
||||||
override val continueJob: Boolean
|
override val continueJob: Boolean
|
||||||
|
|
Loading…
Reference in a new issue