2026-03-02 01:02:13 -07:00
|
|
|
# systab — Edit Mode Screenshot
|
|
|
|
|
# Creates representative jobs, opens edit mode, captures a screenshot.
|
2026-02-14 22:24:06 -07:00
|
|
|
|
|
|
|
|
Output demo/editmode.gif
|
|
|
|
|
Set Shell bash
|
|
|
|
|
Set Width 1200
|
2026-03-02 01:02:13 -07:00
|
|
|
Set Height 500
|
2026-02-14 22:24:06 -07:00
|
|
|
Set FontSize 16
|
|
|
|
|
|
2026-03-02 01:02:13 -07:00
|
|
|
Set TypingSpeed 0
|
2026-02-14 22:24:06 -07:00
|
|
|
|
2026-03-02 01:02:13 -07:00
|
|
|
# Clean up any pre-existing jobs with names used in this demo
|
2026-02-15 00:12:42 -07:00
|
|
|
Hide
|
2026-03-02 01:02:13 -07:00
|
|
|
Type "for n in healthcheck_home backup_home syncthing_home cleanup_home; do systab -X \"$n\" 2>/dev/null || true; done"
|
2026-02-14 22:24:06 -07:00
|
|
|
Enter
|
2026-02-15 00:12:42 -07:00
|
|
|
Sleep 1s
|
2026-03-02 01:02:13 -07:00
|
|
|
|
|
|
|
|
# Create representative jobs silently
|
|
|
|
|
Type "systab -t 'every 5 minutes' -n healthcheck_home -c 'curl -s https://example.com/health' -i"
|
2026-02-14 22:24:06 -07:00
|
|
|
Enter
|
|
|
|
|
Sleep 2s
|
2026-03-02 01:02:13 -07:00
|
|
|
Type "systab -t 'daily' -n backup_home -c '/home/user/backup.sh' -i"
|
2026-02-14 22:24:06 -07:00
|
|
|
Enter
|
|
|
|
|
Sleep 2s
|
2026-03-02 01:02:13 -07:00
|
|
|
Type "systab -s -n syncthing_home -c '/usr/bin/syncthing --no-browser'"
|
2026-02-28 01:45:44 -07:00
|
|
|
Enter
|
|
|
|
|
Sleep 2s
|
2026-03-02 01:02:13 -07:00
|
|
|
Type "systab -t 'weekly' -n cleanup_home -c 'find /tmp -mtime +7 -delete'"
|
2026-02-14 22:24:06 -07:00
|
|
|
Enter
|
2026-02-15 00:12:42 -07:00
|
|
|
Sleep 2s
|
|
|
|
|
Show
|
2026-03-02 01:02:13 -07:00
|
|
|
|
2026-02-15 00:41:21 -07:00
|
|
|
Type "EDITOR=nano systab -e"
|
2026-02-14 22:24:06 -07:00
|
|
|
Enter
|
|
|
|
|
Sleep 3s
|
|
|
|
|
|
2026-03-02 01:02:13 -07:00
|
|
|
Screenshot demo/editmode.png
|
2026-02-14 22:24:06 -07:00
|
|
|
|
2026-03-02 01:02:13 -07:00
|
|
|
Sleep 1s
|