chore(build): testing EE cron-Jobs
This commit is contained in:
parent
24c822c64e
commit
668b9cb383
2 changed files with 9 additions and 7 deletions
1
.github/workflows/crons-ee.yaml
vendored
1
.github/workflows/crons-ee.yaml
vendored
|
|
@ -10,6 +10,7 @@ on:
|
||||||
branches:
|
branches:
|
||||||
- dev
|
- dev
|
||||||
- api-*
|
- api-*
|
||||||
|
- v1.11.0-patch
|
||||||
paths:
|
paths:
|
||||||
- "ee/api/**"
|
- "ee/api/**"
|
||||||
- "api/**"
|
- "api/**"
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,8 @@ cron_jobs = [
|
||||||
{"func": unlock_cron, "trigger": CronTrigger(day="*")},
|
{"func": unlock_cron, "trigger": CronTrigger(day="*")},
|
||||||
]
|
]
|
||||||
|
|
||||||
SINGLE_CRONS = [{"func": telemetry_cron, "trigger": CronTrigger(day_of_week="*"),
|
SINGLE_CRONS = [
|
||||||
|
{"func": telemetry_cron, "trigger": CronTrigger(day_of_week="*"),
|
||||||
"misfire_grace_time": 60 * 60, "max_instances": 1},
|
"misfire_grace_time": 60 * 60, "max_instances": 1},
|
||||||
{"func": run_scheduled_jobs, "trigger": CronTrigger(day_of_week="*", hour=0, minute=15),
|
{"func": run_scheduled_jobs, "trigger": CronTrigger(day_of_week="*", hour=0, minute=15),
|
||||||
"misfire_grace_time": 20, "max_instances": 1},
|
"misfire_grace_time": 20, "max_instances": 1},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue