Use it all the time on AiX, Solaris, Debian 7.
Man page from Debian 7
Code: Select all
AT(1) AT(1)
NAME
at, batch, atq, atrm - queue, examine or delete jobs for later execution
SYNOPSIS
at [-V] [-q queue] [-f file] [-mldv] timespec...
at [-V] [-q queue] [-f file] [-mkdv] [-t time]
at -c job [job...]
atq [-V] [-q queue]
atrm [-V] job [job...]
batch
at -b
DESCRIPTION
at and batch read commands from standard input or a specified file which are to be executed at a later time, using
/bin/sh.
at executes commands at a specified time.
atq lists the user's pending jobs, unless the user is the superuser; in that case, everybody's jobs are listed. The
format of the output lines (one for each job) is: Job number, date, hour, queue, and username.
atrm deletes jobs, identified by their job number.
batch executes commands when system load levels permit; in other words, when the load average drops below 1.5, or the
value specified in the invocation of atd.
Using batch, when you type batch, followed by a command and ^D, the command will start immediately in background.
Use at, you can specify when you want the scrip to run such as
at now + 5min
Both are as if you put the command in a cron schedule and run as /bin/sh
A website with clear descriptions of them and how to use them fo Unix and Linux:
https://www.computerhope.com/unix/uat.htm