Looking at schedule task by through atq command atq command it will display what are job are there in at queue . atrm it will remove task from at queue
Detail about at command "How to Run the Command at Specified Time Using at Command in Linux"
[root@studentwebsite fol]# atq
9 2009-06-14 18:52 a root
Now the only one job
Then create the another one
[root@studentwebsite fol]# at now +1 minutes
at> mkdir fol5
at>
[4]+ Stopped at now +1 minutes
Then list out now the job are two.
[root@studentwebsite fol]# atq
10 2009-06-14 18:52 a root
9 2009-06-14 18:52 a root
Deletion of Scheduled task
atrm used to remove the task form the at queue atrm command remove by the atq job no[root@studentwebsite fol]# atq
10 2009-06-14 18:52 a root
9 2009-06-14 18:52 a root
remove the scheduling from the at command
atrm->at remove
[root@studentwebsite fol]# atrm 10
[root@studentwebsite fol]# atq
Now it has the only one job.
9 2009-06-14 18:52 a root
0 comments:
Post a Comment