adding name option

This commit is contained in:
Matthias Johnson 2026-02-15 10:11:26 -07:00
parent 308f9e6b11
commit f32bf5495b
7 changed files with 207 additions and 70 deletions

View file

@ -45,7 +45,7 @@ Down 5
Sleep 500ms
# Add a new job line with notification flags
Type "new:i,e=admin@example.com | hourly | curl -s https://example.com/health"
Type "new:n=health,i,e=admin@example.com | hourly | curl -s https://example.com/health"
Sleep 1s
Enter

View file

@ -54,7 +54,7 @@ Enter
Sleep 500ms
Show
Sleep 1s
Type "systab -t 'every day at 9am' -c '/home/user/backup.sh' -i -m admin@example.com"
Type "systab -t 'every day at 9am' -n backup -c '/home/user/backup.sh' -i -m admin@example.com"
Sleep 500ms
Enter
Sleep 2s

View file

@ -18,7 +18,7 @@ Enter
Sleep 500ms
Show
Sleep 1s
Type "systab -t 'every 5 minutes' -c 'echo health check OK'"
Type "systab -t 'every 5 minutes' -n healthcheck -c 'echo health check OK'"
Sleep 500ms
Enter
Sleep 2s
@ -76,7 +76,7 @@ Enter
Sleep 500ms
Show
Sleep 1s
Type "systab -D $(systab -S 2>/dev/null | grep -m1 'Job:' | awk '{print $2}')"
Type "systab -D healthcheck"
Sleep 500ms
Enter
Sleep 2s
@ -105,7 +105,7 @@ Enter
Sleep 500ms
Show
Sleep 1s
Type "systab -E $(systab -S 2>/dev/null | grep -m1 'Disabled' -B4 | grep 'Job:' | awk '{print $2}')"
Type "systab -E healthcheck"
Sleep 500ms
Enter
Sleep 2s