# Cron plugin for Obsidian
Cron, by Callum Loh (cdloh), brings cron-style scheduling inside [[Obsidian]]. Each job pairs a standard cron expression (`0 8 * * 1`, `*/15 * * * *`, …) with either an Obsidian command or a user-written JavaScript function, and the plugin runs the job whenever Obsidian is open and the schedule fires. Jobs that were missed while the app was closed can be configured to catch up on next launch.
Because many people run Obsidian on several devices, Cron is sync-aware: it uses a locking mechanism stored in the vault so that a job runs on only one device per scheduled slot instead of firing on every machine that happens to be open. Mobile is supported, so schedules keep working on phones and tablets.
This fills the time-based gap in vault automation. Event-driven plugins react to file changes or user actions; Cron handles the "every morning", "every hour", "every Monday" class of work — triggering a sync, generating a periodic note, running a cleanup script, or kicking off any command another plugin exposes. Anything reachable from the command palette can become a scheduled routine without leaving Obsidian or setting up OS-level schedulers.
## References
- Download: https://obsidian.md/plugins?id=cron
- Source code: https://github.com/cdloh/obsidian-cron