Skip to main content
Rebase provides two way to automate the execution of data pipelines: schedules and event-based triggers:
  • Schedules: Starts a job at a specified time.
  • Event-based triggers: Starts a job when a specific event occurs.

Schedules

A schedule allows to execute a specific pipeline at a fix interval. To run a Python function with a fix interval of one day, we add the @pipeline decorator to the function with a schedule parameter according to:
To instead schedule the run at a specific clock time, we can use the cron syntax. A nice tool for finding the cron expression that matches your needs is crontab.guru. Here is an example of a pipeline scheduled at a specific clock time:
To make the scheduled function into a deployment, run the following command using the CLI:
Or equivalently in a programmatic way:

Event-based triggers