Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

crontab result 1

Status
Not open for further replies.

lelo25

Technical User
Nov 13, 2003
40
LB
Hello,
i am scheduling a crontab in order to run a daily backup in 60 server.
I must be sure that the backup was succesfully terminated
is there a way ?
Please help,
RGDS.
 
lelo25,

Try to write some messages or results of the job befor & after the actual job and redirect it to a log file.

0 9,12,16 * * * poc.sh >> /tmp/poc.log 'date +\%m\%d' 2>&1

farhsyed
 
the thing to do is write a script which performs the backup and logging and notification, then run that script from crontab. if you like, you can run it from a nfs so as to maintain a single copy.

IBM Certified -- AIX 4.3 Obfuscation
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top