Skip to main content
A task schedule can run a Wherobots task, such as the RasterFlow build_mosaics task, in place of a script. Each run calls the task with the inputs you save on the schedule. To pass each run’s window to the task, map the window to its date inputs. You’ll schedule a monthly Sentinel-2 median mosaic for Haskell County, Kansas. The run at midnight UTC on the first of each month covers the previous calendar month. For timing, execution identity, failure emails, and recovery, which work the same for every schedule, see Create a schedule and Monitor and recover.

Before you start

How a task schedule runs

  • Choose the task by name. Wherobots resolves the name when you save the schedule. Each run uses the task’s current version, so a RasterFlow release changes what later runs execute.
  • Inputs are fixed on the schedule. Every run sends the inputs you saved. A run receives its window only through the inputs you map to Window start and Window end. See Map the window to task inputs.
  • Script settings don’t apply. A RasterFlow task runs on RasterFlow compute. The schedule has no Runtime, Arguments, or Timeout (seconds) settings; set the task’s own inputs under Task inputs.
  • The schedule can’t change the task. It runs the task as Wherobots publishes it. To run your own code, create a schedule with a custom script.

Configure the schedule

Create the schedule paused, run one explicit window, check the result, then resume it. Run manually starts a billable RasterFlow run.
1

Choose the task

Open Scheduled Tasks and choose Create a schedule. Select Create paused.Under What do you want to run?, choose Wherobots task. Enter a Schedule name, for example haskell-monthly-s2. In Wherobots task, choose Choose a task, then the entry that ends in build_mosaics. The list shows each task as its display name followed by its task name. The form loads the task’s input schema.Region offers only the regions the task runs in; see RasterFlow regions. When the task runs in one region, as build_mosaics does, the form shows that region without a list.
Create a schedule form: Create paused checked, the Wherobots task tab selected, schedule name haskell-monthly-s2, task Build imagery mosaics (build_mosaics) selected, and region AWS US West (Oregon) (aws-us-west-2)

The create form with Create paused selected and build_mosaics chosen under Wherobots task

2

Map the processing window

Under Processing window, set Window start to Start time and Window end to End time. These are the titles of the task’s start and end inputs. Each list holds Not mapped and the task’s date-time inputs that the other bound doesn’t use. A mapped input leaves the Task inputs form, because each run fills it in.
Processing window section with Window start set to Start time and Window end set to End time

Window start mapped to Start time and Window end mapped to End time

If the task has no date-time inputs, the section shows This task has no inputs that can be bound to the processing window.
3

Set the task inputs

Under Task inputs, fill in the inputs the task needs. The form labels each input with its title, and an asterisk marks a required input. For this example, set:
  • Area of interest (aoi): s3://wherobots-examples/rasterflow/aois/haskell.parquet
  • Imagery datasets (datasets): select s2_median
  • Output CRS (target_crs): EPSG:32614
Leave the other inputs empty to use the task’s defaults; the schedule doesn’t save an empty input. When an input value doesn’t match the schema, Create schedule shows Check task inputs and lists each problem by input name, for example min_coverage: 2 is greater than 1.
Part of the build_mosaics Task inputs form: s2_median checked under Imagery datasets, Pixel size left empty, and Output CRS set to EPSG:32614

Imagery datasets with s2_median selected, and Output CRS set to EPSG:32614

4

Set the timing and identity

Choose Advanced cron, enter 0 0 1 * *, and choose UTC. See Create a schedule for the timing modes, Run as, and Notification email recipients. Then click Create schedule.On a short interval, leave time between runs for a RasterFlow run’s state to update; see Overlap.
5

Run an explicit window

The window to run is October 2026 in UTC: 2026-10-01T00:00:00Z to 2026-11-01T00:00:00Z. Window start and Window end use your display time zone, read when the dialog opens. To enter UTC, turn off Show times in local timezone in your Settings preferences before you open the dialog.Choose Run manually and enter the bounds:
  • In UTC, enter 12:00 AM on October 1, 2026 and 12:00 AM on November 1, 2026.
  • In Pacific time, enter 5:00 PM on September 30, 2026 and 5:00 PM on October 31, 2026, as the run history in the next step shows.
Then click Start run. The run sends these bounds to start and end in UTC.
6

Verify the run

Find the run under Run history. Window shows the bounds in your display time zone. When its outcome is Succeeded, click Details ↗ to open the RasterFlow run.
Run history with one manual run: window Sep 30, 5:00 PM to Oct 31, 5:00 PM PDT, source Manual, outcome Succeeded, cost Not reported, and Rerun and Details links

A succeeded manual run of the October 2026 UTC window, shown in Pacific time

The RasterFlow run page lists the run’s Inputs, including start and end in UTC, and its Outputs, including mosaic_index_uri. Compare them with Verify your schedule.
7

Resume recurring execution

When the output is correct, click Resume, then Resume schedule. The schedule shows Active. Once the scheduler applies the change, Next run shows midnight UTC on the first of next month, in your display time zone.

Verify your schedule

Confirm that the manual run succeeded and that the RasterFlow run received the window you submitted as start and end, in UTC. A successful build_mosaics run returns a mosaic_index_uri. The Cloud UI shows both on the RasterFlow run page under Inputs and Outputs. Through the API, GET /task-runs/{taskRunId} returns them in inputs and results. For the October 2026 run, the response includes:
If start and end are hours off from these UTC bounds, the window was entered in a different time zone from the one the dialog used; see Manual runs and backfill.

Change the task or its inputs

In the Cloud UI, open the schedule’s Configuration tab and choose Edit configuration. To switch tasks, choose another entry in Wherobots task. If you have set inputs or mappings, the form shows Replace this Wherobots task?, because switching discards them from the draft. Choose Replace task to continue, or Keep current task. The saved schedule doesn’t change until you save. A saved schedule can’t switch between a Wherobots task and a custom script in the Cloud UI. Through the API, send PATCH /triggers/{triggerId} with the current version:
  • task.taskName switches the schedule to another task. The stored inputs and mappings must suit the new task.
  • task.inputs and triggerInputs replace the whole stored map, as for scripts. See Change script inputs.
  • contextInputs replaces the whole mapping. {} removes every mapping. A required input that loses its mapping needs a fixed value in task.inputs or triggerInputs in the same request, or the update fails.

Next steps

Scripts and processing windows

Map the window to task inputs and choose a timing.

Monitor and recover

Inspect RasterFlow runs and rerun a window.