Scheduled jobs: FreeBSD and OpenBSD #27

Closed
opened 2026-11-02 23:39:22 +00:00 by christianmanivong · 1 comment
Owner

Part of NetOrk/netork#1933; builds on NAPALM/napalm-device-types#86. Priority: P3 — important, not urgent (the NAPALM org has no labels, so it is stated here).

  • Cron: /etc/crontab, /etc/cron.d, /usr/local/etc/cron.d (FreeBSD), /var/cron/tabs/* (root) — the shared reader, with the BSD paths.
  • periodic (FreeBSD): each script in /etc/periodic/* and /usr/local/etc/periodic/* is a job, kind=periodic; enabled is its *_enable in periodic.conf (defaults from /etc/defaults/periodic.conf); enable/disable writes /etc/periodic.conf; run now runs the script.
  • OpenBSD: /etc/daily, /etc/weekly, /etc/monthly (+ .local).
  • Replaces the existing get_cron_jobs().

Done when the driver reports every job of the host with managed_by, and offers or explicitly refuses each verb of the contract.

Part of NetOrk/netork#1933; builds on NAPALM/napalm-device-types#86. **Priority:** P3 — important, not urgent (the NAPALM org has no labels, so it is stated here). - Cron: `/etc/crontab`, `/etc/cron.d`, `/usr/local/etc/cron.d` (FreeBSD), `/var/cron/tabs/*` (root) — the shared reader, with the BSD paths. - **`periodic` (FreeBSD):** each script in `/etc/periodic/*` and `/usr/local/etc/periodic/*` is a job, `kind=periodic`; enabled is its `*_enable` in `periodic.conf` (defaults from `/etc/defaults/periodic.conf`); enable/disable writes `/etc/periodic.conf`; run now runs the script. - OpenBSD: `/etc/daily`, `/etc/weekly`, `/etc/monthly` (+ `.local`). - Replaces the existing `get_cron_jobs()`. Done when the driver reports every job of the host with `managed_by`, and offers or explicitly refuses each verb of the contract.
Author
Owner

Merged with #28.

Merged with #28.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Blocks
You do not have permission to read 1 dependency
Depends on
Reference: NAPALM/napalm-bsd#27