How to Run the Command at Specified Time Using at Command in Linux


at command is used to run process(like command mkdir,ls,..,) at a particular time. This command is used to perform the task at non-working hours. Command at is normally used to get backup from the file system.
See post: Access control files at.allow and at.deny Task Automation at who can Schedule Task in Linux
There are several method to denote the time
at 10:00 PM
at 10:00 PM july
at midnight
at now +10 minutes
at 8:30am 25/12/20010

[root@studentwebsite fol]# at now +1 minutes
at> mkdir studentwebsite
at> <EOT>
[root@studentwebsite fol]# ls -l
total 0
After one minutes
[root@studentwebsite fol]# ls -l
total 8
drwxr-xr-x 2 root root 4096 Jun 14 18:49 studentwebsite

No comments:
Write comments