At
This is a very useful command to be used if you want to execute a command
at a specific time in the next day (since you specify the clock time, and the
first time it hits that clock you will execute).
the at command is kind of a quick way to do a single thing at a specific point,
kind of like a slightly worse cron, but then this have its own uses, as it is
much easier to setup the command with at rather than having to fiddle with the
cron file, and it is sufficient whenever you only want to do something once.
Setting up the at job is very simple, you just say
at 15:00 <ENTER>
15:00 is an arbitrary time, and enter is just hitting enter.
this will bring up a subshell where you can type in whatever command you want to execute,
when you have entered that command finish with <C-d>, that is CONTROL + D, this will exit the
subshell, but in a way such that the program actually finishes.
Now you can view your commands with the very useful
atq
command.
In case you find that you entered a command you do not want to run at a
specific time you can remove it with
atrm
Taskspool
Taskspool is a very useful thing in the shell if you want to execute several things, one after another
it creates a queue that you can add commands to, giving you a very convenient way to execute
all the commands.
Here is a video from gotbletu on youtube, he made an excellent video on taskspool.
Once you have it setup, you basically do the very simple thing
ts <CMD>
to add a command to the queue.