Networker

Re: [Networker] Send Savegroup Completion Report to a file

2002-10-01 17:14:24
Subject: Re: [Networker] Send Savegroup Completion Report to a file
From: Deb <deb AT TICKLEME.LLNL DOT GOV>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Tue, 1 Oct 2002 14:14:19 -0700
Here's something waaaay over-simplified.  Notifications takes input from
stdout.  Create a shell script that would essentially be the back-end of
a pipe from notifications.  

#!/bin/sh

cat >> /some/dir/savelog_file


Okay, when you write the script, you'll probably want to do a little
checking for the whether the file and directory exist, and so on. 

Go to Notifications (select View -> Details) and use Create,
and in the Action area put in the path to your shell script.  In the
Event area, select only Savegroup.  In Priority select notic and Alert.

And apply.

Test.

Debug until working.

Yer done.

deb

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
          There are 010 types of people in the world:
      those that understand binary, and those that don't.
ô¿ô
 ~ 

--
Note: To sign off this list, send a "signoff" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=