From d7502ec9ff555a56aea272459a9865af69171f0d Mon Sep 17 00:00:00 2001 From: Marco D'Aleo Date: Tue, 6 Oct 2026 06:59:56 +0100 Subject: [PATCH] Correct system cron scope guidance --- docs/cli.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/cli.md b/docs/cli.md index 6f1a6e5..062e237 100644 --- a/docs/cli.md +++ b/docs/cli.md @@ -252,8 +252,9 @@ Notes: - Cron accepts a single schedule. - Cron environment variables are not supported yet; passing `--env` with `--cron` is rejected rather than silently ignored. -- Cron jobs are always created for the current user. `--system` selects system - scope for systemd timers and is rejected for cron. +- Cron jobs are created for the current user by default. With `--system` (root + only), schedls creates a system cron drop-in; use `--run-as USER` to choose + the account that runs it. - `new --timer` defaults to user scope. System scope requires appropriate privileges; `schedls` never runs `sudo` for you.