Wednesday, March 16, 2011

at command in linux

Purpose
Runs commands at a later time.
Syntax
To Schedule Jobs to Run at a Later Time

18-march in 00:00 am

at -t 03180000
/usr/tivoli/tsm/script/rman_full.sh > /usr/tivoli/tsm/script/RMANLOG.log
^D

at  now
/usr/tivoli/tsm/script/rman_full.sh > /usr/tivoli/tsm/script/RMANLOG.log
^D
To Report Scheduled Jobs

at -l [ -v ] [ -o ] [ Job ... | -q Queue ]

at -n [ User ]

To Remove Scheduled Jobs

at -r [ -F ] [ -i ] Job ...

at -r [ -F ] [ -i ] -u User

No comments: