Linux 2 commands at and crontab
All 2 commands execute the specified command at the specified time, and the AT command can be executed only once at a different point, and the crontab command executes repeatedly.
AT command
Qualifying Time Format hh:mm,mid-night,noon,teatime (4 pm) and so on.
At Time carriage return (enter at command after carriage return)
at> input command (end command using ctrl+d, command line appears <EOT> word)
See
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/4D/90/wKiom1RTOR_DJrFRAABl9LzYAKs428.jpg "title=" at.jpg "alt=" Wkiom1rtor_djrfraabl9lzyaks428.jpg "/>
List all the AT commands at-l
crontab command
crontab command-fixed format
MM HH Date Month Week
* * * * * command
A simple command to use
CRONTAB-E direct edit time and command after carriage return, e.g. execute ls command per minute * * * * * ls
If it is a large number of commands, you can write a shell script, remember to modify the permissions to chmod 755,
CRONTAB-E direct edit time and command after carriage return, e.g. execute ls command per minute * * * * */root/xx.sh
This article from "Day Up" blog, declined reprint!
Linux at and Crontab commands