Discussion Locked

cron job

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I want to set up a cron job that reboots my netware 5 system on a monthly schedule. I have already downloaded the cron.nlm and loaded it. My problem is that when it issues the command "RESTART SERVER", it asked if I want to "DOWN y" the server, is their a switch I can set to answer this automaticly?

4 replies

by budthegrey

Usually, netware will only give this prompt if it thinks there's some reason to not shut the server down -- clients with files open, NLM's that don't unload correctly, etc.

I guess what I'm curious about is "why reboot"? I've got netware servers that go many months without requiring a reboot. Unless there's some specific problem to clear, it's probably not worth it.

by malibu81

Make an file called rs.ncf in your system path
put the following in file

RESET SERVER
DELAY 30
Y

save it and call rs.ncf from cron it will rebbot the beast

This discussion is closed to new replies.