Paradime Bolt Schedule Toggle Commands
Last updated
Was this helpful?
Last updated
Was this helpful?
Paradime Bolt introduces a powerful feature called Schedule Toggle Commands, which allows you to dynamically control the status of a Bolt Schedule. With this functionality, you can easily pause a schedule for a specific period of time or until the next day, providing flexibility and control over your data transformation processes.
Only UI based schedules can be pauses/unpaused using this commands
Generate API credentials in your Paradime workspace with Bolt schedules admin Capabilities
Use the generated credentials and set as environment variables for Bolt Schedules
PARADIME_API_ENDPOINT
PARADIME_API_SECRET
PARADIME_API_KEY
One of the key capabilities of Schedule Toggle Commands is the ability to pause a schedule. By issuing a pause command, you can temporarily suspend the execution of a Bolt Schedule. This is particularly useful when you need to halt the processing of data for a certain duration, such as during maintenance windows or when unexpected issues arise.
To pause a schedule, you can use the following command:
Use the variable $PARADIME_SCHEDULE_NAME
to let a Bolt schedule "pause iteslf".
Once a schedule is paused, you can resume its execution whenever needed. Resuming a schedule allows you to continue the data transformation process after a certain amount of time elapsed. To resume a paused schedule, you can use the following command:
Normally, the suspend
and unsuspend
commands will be part of two separate schedules.
For example, you can have one schedule that runs the suspend
command at a specific time or interval to pause the execution. This schedule can be configured to run at the desired frequency, such as daily or weekly, depending on your requirements.
On the other hand, you can have another schedule that runs the unsuspend
command at a different time or interval to resume the execution of the suspended Bolt Schedule. This schedule can be set up to run at the appropriate time when you want the data transformation process to resume.
Now, let's learn how to configure the Trigger Types of a Bolt Schedule.