We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Server Discussions

Find answers, ask questions, and share expertise about Alteryx Server.

How to schdule a job to only run on work hours

JohnMaty
9 - Comet

Is there a way to schedule a workflow to run within a time window?  I am trying to say something like, "Run every 10 minutes between hours of 8:00 AM EST to 6:00 PM EST"  What I am doing now is making a schedule for every ten minute block in those time frames.  Seems like overkill

1 REPLY 1
fmvizcaino
17 - Castor
17 - Castor

Hey @JohnMaty ,

 

Unfortunately, not possible. 

A workaround is to have a workflow running at 7h55am and 6h05pm enabling and disabling the schedules using the Gallery APIs.

https://help.alteryx.com/20221/server/schedules-endpoints

https://community.alteryx.com/t5/Engine-Works/Introducing-the-Alteryx-Server-v3-API/ba-p/899228

 

Another not so great workaround is to have a job running every 10 minutes for the whole day and build something inside the workflow based on the DateTime to stop the workflow after 6pm.

 

Best regards,

Fernando Vizcaino