Thx :), but its not something i will do alot its just sometimes my explore goes crazy and uses like 90% af my CPU, then i close it and restarts it, and then the sambar icon in the corner is gone, then i have to stop the service and go into the "Service panel" in windows and start it again, it's alot easiere with this script on my desktop :), but thx anyway, maybe I can use the windows scheduler for something else :)
Morten ----- Original Message ----- From: "Danny Mallory" <[EMAIL PROTECTED]> To: "sambar List Member" <[EMAIL PROTECTED]> Sent: Saturday, March 06, 2004 11:07 PM Subject: [sambar] The reboot batch > There are 2 steps. Create a batch file that will issue the stop and start, then add a schedule to the built in OS task scheduler(if you need it scheduled) > > Batch File(ie; c:\sambarres.bat) > net stop "sambar server" > net start" sambar server" > > To add to task scheduler, from dos enter: > at 03:00:00 /every:M,T,W,Th,F,S,Su "c:\sambarres.bat" > > This will restart sambar everyday at 3am. > > Danny > > > On 06/Mar/2004 20:34:42, Chi Omega wrote: > > Hi i saw a while ago a topic on how to reboot the server > with a batch file :), i formatet my computer and forgot > to backup the file i made, so anyone that can help me with > what im suposed to type, i think it was "net stop sambar server" but it dosen't work here :-/ > Any help ? > Morten > ------------------------------------------------------- > To unsubscribe please go to http://www.sambar.ch/list/ > > > > > > > > ------------------------------------------------------- > To unsubscribe please go to http://www.sambar.ch/list/ > > > ------------------------------------------------------- To unsubscribe please go to http://www.sambar.ch/list/
