Here is the command in the batch file I use that uses the AT command that at 
1:00am restarts my Tango server and backs up the database.

AT 1:00 
/every:1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,
27,28,29,30,31 "c:\websites\new\back_db.bat"

----------------  here is the back_db.bat file

rem back_db.bat  -- this backs up web server stuff

rem stop tango server
net stop tango_2000_server

rem backup databases
copy c:\xxxxxxxxxxxx yyyyyyyyyyyy

rem start tango server up
net start tango_2000_server
------------------------------------

I am not sure how you would restart the server.

Troy Sosamon


===== Original Message from [EMAIL PROTECTED] at 3/07/02 8:39 am
>Someone once post a method that they use to reboot a NT server using a
>command file and at scheduler.
>
>I need to do this so that my automatic backup and database processing and
>archiving can proceed.
>
>Sometimes someone doesn't log off from the DB and the database processing
>and archiving doesn't run!
>
>Any help would be appreciated.
>
>Best regards,
>
>Oma Cox
>
>================================================
>TO SEE MESSAGE POSTING GUIDELINES:
>Send a plain text email to [EMAIL PROTECTED]
>In the message body, put just two words: INTRO rbase-l
>================================================
>TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
>In the message body, put just two words: UNSUBSCRIBE rbase-l
>================================================
>TO SEARCH ARCHIVES:
>http://www.mail-archive.com/rbase-l%40sonetmail.com/

================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: INTRO rbase-l
================================================
TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: UNSUBSCRIBE rbase-l
================================================
TO SEARCH ARCHIVES:
http://www.mail-archive.com/rbase-l%40sonetmail.com/

Reply via email to