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.

frequencyRequired companion fieldsBehaviour
dailytimezone, time_of_dayRuns every day at the configured local time.
weeklyOne weekdays valueRuns once per week on the selected ISO weekday.
monthlymonth_day from 1 through 31Runs on that day of each month; months without the day do not invent a replacement date.
customOne or more unique weekdays valuesRuns on each selected weekday at the configured local time.

ISO weekdays use 1 for Monday through 7 for Sunday.

overlap_policyBehaviour
skipDo not start an occurrence while the previous scheduled run remains active. Recommended for most workloads.
allowStart 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.


Did this page help you?