How to execute a command at a particular time in

April 4th, 2008 | by mittaldeepak

"at" is quite a useful command in linux — but not many people use it.

 Some points to note

/etc/init.d/atd start (to start the at daemon)

at -l (to list the pending commands)

at -r (to remove a scheduled command)

 

Useful link : http://www.computerhope.com/unix/uat.htm

 

Example:

 

at 14:49 -f /tmp/b.sh

 

Just make sure that b.sh is executable.  

Report AbuseRate this post:

Post a Comment