In this video we show you how to create a task and schedule services in Warewolf.
Warewolf uses the underlying Windows Task Scheduler to handle scheduled events in Warewolf. You can run scheduled services as jobs using the Scheduler. These can be once-off or recurring jobs. The Scheduler runs on the Windows server.
- Click on the Task button in the toolbar to schedule a service to run. We will schedule the Hello World microservice to run at 6 am during weekdays.
- Click the Schedule a new task button. In the right pane, at the top, click the edit button adjacent to the Triggered at field.
- Set the trigger to start running on the selected date at 6am.
- The trigger will run weekly, on weekdays, and it will recur every 1 week..
- When you are done, click the OK button.
- Name the Task Hello World. Set the Status to Enabled.
- Next to the Workflow textbox, click the ellipses … button to choose a Service from the window.
- Select the Hello World microservice and click the OK button.
- You can check the Run task as soon as possible after a scheduled start is missed option to run the Hello World microservice at the next interval after you save the microservice.
- Click the Save button on the toolbar to save your scheduled task.
It’s that easy to schedule tasks and services from inside the Warewolf Studio.