diff --git a/cron/pipeline-scheduler.yml b/cron/pipeline-scheduler.yml new file mode 100644 index 00000000..e219cda1 --- /dev/null +++ b/cron/pipeline-scheduler.yml @@ -0,0 +1,9 @@ +- name: Nightly Pipeline Scheduler + schedule: '*/30 18-23,0-8 * * *' # Every 30 min, off-peak hours only + tasks: + - name: Check and start pipelines + shell: "bash scripts/nightly-pipeline-scheduler.sh" + env: + PIPELINE_TOKEN_LIMIT: "500000" + PIPELINE_PEAK_START: "9" + PIPELINE_PEAK_END: "18"