Add schedule format examples to edit mode header

Shows common OnCalendar patterns (hourly, every 15 min, specific
times, day-of-week) so users know what formats are available.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Matthias Johnson 2026-02-13 23:25:11 -07:00
parent a231bc63e9
commit 661baf6c16

7
systab
View file

@ -391,6 +391,13 @@ edit_jobs() {
# Format: ID SCHEDULE COMMAND
# Lines starting with # are ignored. Remove a line to delete a job.
# Add a line with "new" as ID to create a job: new daily /path/to/cmd
#
# Schedule formats (systemd OnCalendar):
# hourly, daily, weekly, monthly, yearly
# *:0/15 every 15 minutes
# *-*-* 02:00:00 daily at 2am
# Mon *-*-* 09:00 every Monday at 9am
# *-*-01 00:00:00 first of every month
HEADER
local job