-
-
Notifications
You must be signed in to change notification settings - Fork 6
Features Cron
Tuck edited this page Jun 28, 2026
·
2 revisions
Deskbrid uses rules.create with cron-style triggers and schedule.* actions
for periodic task scheduling.
Note: The canonical documentation for scheduling is in schedule.md. The
rules.*system is documented in rules.md. This page is a convenience reference for cron-style scheduling.
Use cron expressions as the rule trigger:
deskbrid rules.create {
name: "periodic-system-info",
trigger: "0 * * * *",
action_type: "system.info",
action_params: {},
enabled: true
}You can also define schedules via schedule.json when running the daemon with
the cron scheduler enabled.
deskbrid schedule.listResponse:
{
"type": "response",
"status": "ok",
"data": {
"schedules": [
{
"name": "hourly-screenshot",
"interval_secs": 3600,
"action_type": "screenshot",
"action_params": { "output_path": "/tmp/screen.png" },
"enabled": true,
"last_run": "2026-05-30T10:00:00Z",
"next_run": "2026-05-30T11:00:00Z"
}
]
}
}deskbrid schedule.add {
name: "daily-backup",
interval_secs: 86400,
action_type: "windows.list",
action_params: {},
enabled: true
}deskbrid schedule.remove { name: "daily-backup" }from deskbrid import Deskbrid
client = Deskbrid()
client.schedule_add(
name="hourly-check",
interval_secs=3600,
action_type="system.info",
action_params={},
enabled=True,
)- Mutating scheduler state is independent of
rules.*management. - Some desktop environments may throttle timers when the session is idle.
- The scheduler runs inside the daemon; if the daemon stops, scheduled actions do not fire.
- Accessibility
- Apps
- Audio
- Backlight (LED driver)
- Bluetooth
- Clipboard
- Color Picker
- Desktop Portal
- Desktop Settings
- Files
- Hotkeys
- Input
- Keyboard Layouts
- Media (MPRIS)
- Monitors
- Network
- Notifications
- Print (CUPS)
- Screenshots
- Screen Recording
- Screencast
- Self-Update
- System
- System Tray
- Systemd Units & Timers
- Terminals (PTY)
- Windows & Workspaces