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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating a batch file

Status
Not open for further replies.

jdavis37

MIS
Jul 9, 2002
233
US
How can I create a batch file on one server to execute a *.ncf file on another server?

exe: server A (batch file)

server B (the location of the file)
 
Just out of curiosity, what are you trying to do with the ncf files?


------------
Bill
Consultant / Network Engineer
CNE, CCNA
 
I'm running arcserve on server a and I want to backup server b. I have an application running on server b that need to be shutdown. There's a file rewstart.ncf which works on the server but I need this to work across servers. So, I need to put this file into a batch file and point it to server b.
 
I don't think you can write an NCF file to shut down a program on another server. Doing so requires console access and servers don't generally have console access to other servers.

Copy the NCF file to server B then configure a CRON job to execute it 10 minutes before your backup will start. Be sure you have good timesync.

You can find a copy of CRON here;
When you download it, there should be instructions on it's usage, if not, come back and we can help.

Brent Schmidt CNE,Network + [atom]

[rofl]
 
Can I use the cron.nlm on Netware 5x and Netware 6x? On the novell site they only give you installation instructions for Netware 3x and Netware 4x.
 
Is there something on the web that tells me that? My director woould want to see something in writing before we load this nlm on a production server. Thanks
 
just a word : if you speak about pre and post command in options of arcserve, I think you can't run it on other servers.... it allows you to run command on arcserve server but not on another server (i have try it but it didn't work... but i'm not an example, nothing work fine with arcserve 9....)
to test, try to launch a command (like edit) : if it works, your shutdown will be ok!
 
I'm going to use cron to start the *.ncf file at a certain time. Instead, of using arcserve pre/post I'll set a cron job to run.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top