40 lines
1.3 KiB
JSON
40 lines
1.3 KiB
JSON
{
|
|
"name": "bare-cron",
|
|
"section": 1,
|
|
"title": "Bare OS minute scheduler (bare-initd unit)",
|
|
"synopsis": [
|
|
"Managed via systemctl(1): systemctl status bare-cron",
|
|
"Crontab files: /etc/bare-os/crontab, ~/.crontab, ~/.config/bare-os/timers/*.timer"
|
|
],
|
|
"description": "The **bare-cron** bare-initd unit runs a bounded in-process scheduler: classic five-field lines, **@reboot**, optional **JitterSec=**, and systemd-inspired timer drop-ins (**OnCalendar=**, **EveryMs=**, **OnInactiveSec=**, **Persistent=**). Jobs execute through **ctx.execLine**; errors may be logged under **/var/log/bare-os/cron.log** when configured. This is not full **cron**(8) or **systemd.timer**(5) parity.",
|
|
"options": [],
|
|
"keywords": [
|
|
"cron",
|
|
"scheduler",
|
|
"bare-initd",
|
|
"timer",
|
|
"crontab"
|
|
],
|
|
"seeAlso": [
|
|
{
|
|
"name": "systemctl",
|
|
"section": 1
|
|
},
|
|
{
|
|
"name": "crontab",
|
|
"section": 1
|
|
}
|
|
],
|
|
"bareOsNotes": "Implementation: packages/bare-os-booter/lib/initd/bare-cron.js. Dependency: **kernel-logger** before **bare-cron** in the default initd graph.",
|
|
"examples": [
|
|
{
|
|
"caption": "list scheduler unit",
|
|
"code": "systemctl status bare-cron"
|
|
},
|
|
{
|
|
"caption": "user crontab line (five-field)",
|
|
"code": "0 * * * * echo hourly"
|
|
}
|
|
]
|
|
}
|