Run workflow with delay


Is there an option to set a job to run 24 hours after another job is done?

I have a job that deploys to the staging environment, and a job that deploys to the production environment.
The deployment to staging happens after merging to master.
I want the deployment to production to run 24 hours after the deployment to staging is done.


Welcome to our community!

There is no built in way to schedule jobs like this right now.

Note that you can schedule recurring jobs[1], but it follows the cron model (i.e. run at X time). There is no way to make X variable in that case.

In order to achieve something like this you would need to use the API and external scheduling system to make the call at the desired time.


This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.