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:
parent
a231bc63e9
commit
661baf6c16
1 changed files with 7 additions and 0 deletions
7
systab
7
systab
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue