From 6a3703a2d019f2f51bfe84b49422c8a0891807c1 Mon Sep 17 00:00:00 2001 From: Malin Freeborn Date: Thu, 13 Apr 2023 06:18:57 +0200 Subject: [PATCH] add at tape --- basics/at.md | 2 ++ basics/at.tape | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 basics/at.tape diff --git a/basics/at.md b/basics/at.md index 5738744..4010c37 100644 --- a/basics/at.md +++ b/basics/at.md @@ -44,6 +44,8 @@ This will print all pending IDs. Remove a job by the ID with: Check /var/spool/atd/ +![At it again](at.gif) + ## Automation Automatically add a job for later, by setting the date, then using echo for the command. diff --git a/basics/at.tape b/basics/at.tape new file mode 100644 index 0000000..27e242b --- /dev/null +++ b/basics/at.tape @@ -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 +