Skip to main content

Run Scheduled Jobs

Use the @schedule decorator to define a scheduled job.
To schedule it, run beam deploy:
You’ll see the upcoming jobs listed in the console.

Scheduling Options

The following predefined schedules can be used in the when parameter:

Stopping Scheduled Jobs

You can stop a scheduled job from running by using the beam deployment stop CLI command. First, list the upcoming jobs with beam deployment list:
Then reference the Deployment ID to stop a job:

Gotchas

If you deploy a new version of your scheduled job, the previous schedule will be disabled.