How to Schedule a Flow Run
This overview will show you how to use the Globus Web App or Globus CLI to schedule a flow run. For more information Globus Flows, see the Globus Flows documentation.
Web App
To schedule a flow run using the Globus Web App:
-
Log in to the Globus Web App at app.globus.org.
-
From the Flows library, find the flow you wish to schedule. (A Globus-provided flow is a good place to start; for example, the Move (Copy and Delete) flow.) Select "Start" to open the flow’s "Guided Input" page.
-
After filling out the "Guided Input" form, select the disclosure button attached to the "Start Run" button; then select the "Start with Timer" option.
-
Configure the timer settings, including the date and time when the flow will first run, a "Repeat" interval if you would like the flow to run multiple times, and a "Stop After" condition controlling how many times your flow will run.
-
Select the "Create Timer" button to schedule this flow and create a flow timer to track its progress.
CLI
To create a flow timer using the Globus CLI:
-
Log in to the Globus CLI by running the command:
globus login
-
Use the
globus timer create
command to create a timer. For example:globus timer create flow \ 6336492e-e308-4a67-b78e-13684c747472 \ flow_input.json \ --interval 1h30m \ --stop-after-runs 2
This will create a timer that runs the Move (Copy and Delete) flow with the JSON input found in
flow_input.json
every 1 hour and 30 minutes, beginning immediately (because--start
was omitted), and stopping after 2 runs.Note
Theflow_input.json
file must contain valid input for the specified flow. This input is submitted on creation and stored as part of your flow timer. It will be used each time the flow is run by this timer. -
To view the status of your timer, run the command:
globus timer show <timer-id>
…where
<timer-id>
is the ID of the timer you created in step 3.