Scheduling Jobs and Pipelines
Last updated
Last updated
The takes cron expressions to create schedules for when to run both sync and pipeline transactions.
To create a new schedule for a job you can use the scheduler
To create a schedule for a job, you will need the job ID of the job you want to schedule and the cron expression for the schedule. This example creates a schedule that runs the job every minute.
The response will provide the id
of the newly created schedule config. You can save this ID to later update the config.
This endpoint can be used to create multiple schedules for the job.
To update an existing schedule you will need the schedule config ID, the job ID, and the cron expression for the schedule. This example updates the schedule to run the job every 5 minutes.
To create a schedule for a pipeline, you will need the pipeline ID of the pipeline you want to schedule and the cron expression for the schedule. This example creates a schedule that runs the pipeline every minute.
This endpoint can be used to create multiple schedules for the pipeline.
To update an existing schedule you will need the schedule config ID, the pipeline ID, and the cron expression for the schedule. This example updates the schedule to run the pipeline every 5 minutes.
You can get schedules either by ID or all the schedules at one time.
This will show all the schedules created both for job and pipelines.
This will show the single schedule for the passed in id.
This will remove the schedule so that it will no longer run.
To update an existing schedule you can use the scheduler's .
To create a new schedule for a pipeline you can use the scheduler .
To update an existing schedule you can use the scheduler's .
The scheduler's can be used to retrieve all schedules created.
The scheduler's can be used to retrieve a single schedule.
If you no longer want a schedule, you can remove it by using the .