pluscarden
Programmer
I am running Legato NW on a Windows 2000 server and have created a customised server notification that will automatically run a perl script on Savegroup Completion (alert or notice). This is what I have got in my action field :
D:\perl\bin\perl.exe C:\backup_status.pl
My perl program uses a standard loop kinda thing :
Example
while (<STDIN>) {
do stuff with $_;
}
But the problem I have is that nothing appears to be getting passed in!
I always assumed that NW automatically made the contents of the Savegroup Completion Notification available to your program via <STDIN>. Does anybody know what I need to do to get this to work?
Incidentally, I had the same problem on UNIX but managed to resolve it by using awk within my script (rather than a while loop). But I obviously don't have this luxury on Windows!
Any help/advice would be much appreciated.
D:\perl\bin\perl.exe C:\backup_status.pl
My perl program uses a standard loop kinda thing :
Example
while (<STDIN>) {
do stuff with $_;
}
But the problem I have is that nothing appears to be getting passed in!
I always assumed that NW automatically made the contents of the Savegroup Completion Notification available to your program via <STDIN>. Does anybody know what I need to do to get this to work?
Incidentally, I had the same problem on UNIX but managed to resolve it by using awk within my script (rather than a while loop). But I obviously don't have this luxury on Windows!
Any help/advice would be much appreciated.