Schedule Pipeline Runs

On this page

Install an OS-native scheduler with one command.

1. Install

ondatrasql schedule "*/5 * * * *"

Standard 5-field cron syntax: minute hour day month weekday.

PatternDescription
*/5 * * * *Every 5 minutes
0 * * * *Every hour
0 9 * * *Daily at 09:00
0 0 * * 0Weekly on Sunday
0 22 * * 1-5Weekdays at 22:00

2. Verify

ondatrasql schedule
Schedule for "myproject"
  Backend:  systemd
  Unit:     ondatrasql-3f2a91b4.timer
  Cron:     */5 * * * *  (every 5 minutes)
  Status:   active
  Last run: Tue 2026-04-08 14:00:01 UTC
  Next run: Tue 2026-04-08 14:05:00

3. Remove

ondatrasql schedule remove

Platform Details

OSBackendFiles
Linuxsystemd user timer~/.config/systemd/user/ondatrasql-<id>.*
macOSlaunchd plist~/Library/LaunchAgents/sh.ondatra.<id>.plist
WindowsWSL2Use systemd inside WSL

Logs: journalctl --user -u ondatrasql-<id> (Linux) or ~/Library/LaunchAgents/sh.ondatra.<id>.log (macOS).

Project Identity

Each project gets a stable ID in .ondatra/project-id (generated on first install). Commit this file to git.