add at tape

This commit is contained in:
Malin Freeborn 2023-04-13 06:18:57 +02:00
parent 8bb0c57ddb
commit 6a3703a2d0
Signed by: andonome
GPG Key ID: 52295D2377F4D70F
2 changed files with 42 additions and 0 deletions

View File

@ -44,6 +44,8 @@ This will print all pending IDs. Remove a job by the ID with:
Check /var/spool/atd/ Check /var/spool/atd/
![At it again](at.gif)
## Automation ## Automation
Automatically add a job for later, by setting the date, then using echo for the command. Automatically add a job for later, by setting the date, then using echo for the command.

40
basics/at.tape Normal file
View File

@ -0,0 +1,40 @@
Sleep 500ms
Type "at teatime"
Enter
Sleep 1.5s
Type "./"
Sleep 500ms
Type "baskup.sh"
Sleep 1.5s
Enter
Sleep 1.5s
Ctrl+D
Sleep 3.5s
Type "atq"
Enter
Sleep 1.5s
Type "atq 1"
Sleep 500ms
Type "4"
Enter
Sleep 500ms
Type "at"
Sleep 1s
Type " -c 15"
Enter
Sleep 1.5s
Type "at"
Sleep 500ms
Type " "
Sleep 500ms
Type "-"
Sleep 500ms
Type "c 15 | grep PWD"
Enter
Sleep 5.5s
Type "atrm 15"
Sleep 2s
Enter
Sleep 3s
Ctrl+D