Managing Cron Tasks in the Webtask Editor

Setting custom cron jobs to run your tasks

For customized documentation and ready to run samples, please log in.

Cron Jobs in Webtask

Webtask cron jobs are instructions for the Webtask cluster to run a task periodically according to a supplied schedule. Cron jobs collect the timing details and results of the last 100 scheduled runs of the underlying task. The cron job will run the task via POST with a payload corresponding to the cron job record in JSON format. In the Cron documentation page, you can read more about cron jobs in Webtask.

The Webtask Scheduler

Webtask Scheduler

Callout 1This toggle turns the cron job on and off. When it is not active, the cron schedule will not be followed and the task will not be fired by cron job.

Callout 2The simple task scheduler will allow you to choose from simple schedules using the dropdown menus. Examples of these simple schedules would be "Every 10 minutes" or "Every 3 days".

Callout 3You can also write an advanced schedule, and use cron syntax to do it. Enter a numeral for minutes, hours, the date, the month (as a numeral) and the weekday (as a numeral, Sunday as 0, Monday as 1, etc). An asterisk in a field means that the task will run on all occurences of it; in the example image, the task will run on the 0th minute of the 12th hour, on every date and weekday of every month.