Networker

[Networker] Pre en Post Scripting ; using perl and savepnpc

2003-01-22 05:04:23
Subject: [Networker] Pre en Post Scripting ; using perl and savepnpc
From: Van Den Abeele Kristof <Kristof.VanDenAbeele AT NBB DOT BE>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Wed, 22 Jan 2003 11:04:15 +0100
Hello List, 

 

I am using the "savepnpc" parameter in the "Backup Command" attribute to 
perform pre and post scripting on a client.

This client is a Windows machine.

 

The correct file "groupname.res" has been automatically created in the 
"C:\program files\nsr\res" directory.

I want to modify this file to run 2  perl scripts , but no succes so far.

 

For example : 

 

type: savepnpc;

precmd: "W:\\perl\\bin\\perl C:\\backup\\pre.pl";

pstcmd: "W:\\perl\\bin\\perl C:\\backup\\post.pl";

#timeout: "12:00:00";

 

I have tried many other things : without double backslashes ,  without perl 
location , ... 

Anybody has done this before ? What is going wrong here ?

Tips and suggestions always welcome...

 

Thx in advance , 

 

Kristof Van den Abeele

 

 


--
Note: To sign off this list, send a "signoff networker" 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.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

<Prev in Thread] Current Thread [Next in Thread>