Scheduler

IMPORTANT:

  • When you use Scheduler for the first time, you need to log in to your agent (see instructions here: Log in to the Agent).

  • During the scheduled time, your agent must be active. That means if you quit it or restarted your computer after which you didn't activate the agent, the scheduled task won't happen because there is no agent to run it.

  • During the scheduled time, your computer must be turned on and active. You may want to adjust your sleep mode and battery settings to ensure that your computer doesn't turn off or switch to a sleep mode for the time that the TaskBot is scheduled to run.

How to Set up the Scheduler

Click on the scheduler icon inside your TaskBot, as shown here:

A dialog will open. Now you choose the time or interval for your TaskBot ton run.

FAQ

Can I schedule multiple TaskBots in parallel?

Yes, you can run parallel scheduled jobs - just make sure your computer has enough capacity to handle multiple parallel executions.

I want to run my scheduled TaskBots on a dedicated device but I want to keep building and running TaskBots manually on my current device without interfering with the scheduled TaskBots. How to achieve this?

Let's say, you have a dedicated computer A where you want to run your scheduled TaskBots, and you have computer B where you want to continue building and running TaskBots (in this case running means that you manually click on the run button).

To enable this setup, follow these simple steps:

  • Install the agent on both computers A and B.

  • Log in to your scheduler inside the agent on your computer A (as described here: Log in to the Agent).

  • Do not log in inside the agent on your computer B.

Explanation: Your agent needs to be logged in only for scheduled runs and runs triggered by webhooks (Trigger Run via Webhook). It does not need to be logged in for runs that happen when you click on Run button manually. So by logging in only to the agent that runs scheduled TaskBots (on computer A), you can ensure that the second agent (on computer B) won't pick up on any scheduled or webhook-triggered TaskBots and you can use it for manual runs.

I forgot to turn on my computer at the time of the scheduled run. Will it still run?

No, if the agent is inactive at the time when the scheduled run is supposed to start, then the scheduled run is skipped.

If a TaskBot is scheduled to run but it is currently running already, what will happen?

If a TaskBot is scheduled to run but it is already running, the new run will not be triggered. The currently active run will continue to run.

I tried logging into https://creator.zerowork.io/ from device A (where I'm not logged in to my agent), and scheduling a TaskBot to run on device B (where I'm logged in to my agent). However, the scheduled run did not happen. What can be the issue?

You can schedule for a different device, but you would need to restart your agent on the device where it's supposed to run on schedule (in this case device B).

As a desktop app, the agent cannot be called by the backend that operates on the cloud. (A desktop application can call the backend itself, but it cannot be called by it.) This is why it needs to be called from frontend (in other words, your scheduling or rescheduling action in the user interface triggers the agent to update the list of its scheduled jobs).

However, when you restart the agent, it will fetch all the updated scheduled jobs.

Last updated