Creating a Scheduled Task Workflow Project

BenBrazil's picture

Hi Guys,

what would be the best way to create a project where a scheduled task would occur at the same time every day. For instance, at 12:00 AM various checks are made and an email sent.
I have had a look at creating an Autostart project and using a configurable autostart component. Would this be the correct approach? Are there any examples of such a project?

Thanks,

Ben

reecardo's picture

You could set the WF to auto

You could set the WF to auto start, and set up the schedule to run, say, every hour. Then you could use a configurable auto start component, where the config. auto start model gets the current date and "checks" if it's on or around 12 AM, using perhaps the Get Current Time/Output Long DataTime String combo so you can isolate both the hour and the "AM". If it is, it starts; if it's not, it doesn't.

There's probably a better way, but that's a "quick and dirty" solution I just thought of.