1. At command: Timed Run command
Function: The AT command executes the specified sequence of commands at a specified time.
Format:
At [-v] [Q-X] [-F file] [-m] Time
ATQ [-v] [-Q x]
ATRM [-v] [-Q x] job ...
Batch [-v] [-f file] [-m]
The main options are as follows.
-V: Shows when the job will be executed.
-Q: Select the name of the queue, which can be any letter between A~z and A~z. The higher the queue alphabetic order, the lower the queue priority level.
-F: Read commands or shell scripts from a file instead of specifying them when prompted.
-M: Sends an e-mail message to the user after the job is done.
Time: Sets the duration of the job execution. The time parameter can be any of the following formats.
HH:MM format--such as 04:00, represents 4:00am. If time has passed, it will be executed at the next day.
Midnight represents 12:00am. Noon represents 12:00pm. Teatime represents 4:00pm.
English month name Date year format--such as January 15 2005, representing January 15, 2005. Year is not available.
MMDDYY, Mm/dd/yy, or MM.DD.YY format--such as 011505, represent January 15, 2005.
Now + Time format-time is in minutes, hours, days, or weeks. For example now + 5, the command should be executed at this time after 5 days. The offset is formatted as a time + offset, in units of minutes, hours, and days.
Description: At command is actually a set of commands. The AT command executes the specified sequence of commands at a specified time. ATQ Query the sequence of commands that have been set. ATRM deletes a sequence of commands that have been set. Batch executes the set sequence of commands when the system load is below a set value (0.8).