Scraping Tasks and schedules
Save reusable scraper configuration and run it manually or on a schedule.
Save repeatable work as a Scraping Task
A Scraping Task pins a Hub scraper revision with a reusable name, description,
target URL when supported, and default inputs. Create a new task revision when
the configuration changes so previous runs remain explainable.
Run a task manually through its /runs/ endpoint and provide only the input
overrides needed for that occurrence.
Schedule a task
Schedules reference a task revision and support daily, weekly, monthly, or
custom-weekday cadence. Supply an IANA timezone and local time_of_day.
frequency | Required companion fields | Behaviour |
|---|---|---|
daily | timezone, time_of_day | Runs every day at the configured local time. |
weekly | One weekdays value | Runs once per week on the selected ISO weekday. |
monthly | month_day from 1 through 31 | Runs on that day of each month; months without the day do not invent a replacement date. |
custom | One or more unique weekdays values | Runs on each selected weekday at the configured local time. |
ISO weekdays use 1 for Monday through 7 for Sunday.
overlap_policy | Behaviour |
|---|---|
skip | Do not start an occurrence while the previous scheduled run remains active. Recommended for most workloads. |
allow | Start every occurrence even when a previous run remains active. Use only when concurrent results are acceptable. |
Schedules can override inputs, target URL, country, locale, response format,
rendering, redirects, and timeout. notify_on_success sends successful delivery
events, notify_on_failure sends failed delivery events, and
failure_threshold controls how many consecutive failures occur before the
failure notification condition is met.
Pause a schedule without deleting it by setting enabled to false or using
the schedule pause operation. The run-now operation submits an immediate run
without changing the next scheduled occurrence.
Updated 16 days ago

