shutdown and backup startup in NT
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: shutdown and backup startup in NT

  1. #1
    Join Date
    Apr 2001
    Posts
    6

    Thumbs down

    Hi all,
    How to schdule a shutdown, backup and startup of DB in NT - like cron - using the AT command. I tryed this but didn't work :
    C:\ AT 20:30 /every:1,2,3,4,5,6 smart
    where smart is the batch file that stops the DB, back it up and start it again. It says that the job is schduled but it never happen. I checked for the Schdule service in Control Panel-->Services, there is 'Task Schduler' service and it's started. What could be the problem.

    Thanks in Advance...

  2. #2
    Join Date
    Oct 2000
    Location
    Saskatoon, SK, Canada
    Posts
    3,925
    Did the smart script work properly on the command prompt?

    Sam
    Thanx
    Sam



    Life is a journey, not a destination!


  3. #3
    Join Date
    Apr 2001
    Posts
    6

    shutdown, backup and startup in NT

    Hi,
    Yah, the script is working properly form the command prompt.

  4. #4
    Join Date
    Sep 2000
    Posts
    103
    hi,

    you can use scheduled tasks under control panel. It has a scheduled task wizard. You just need to add your startup and shutdown scripts there. I think it's much simpler and less complicated than using @.

    pst

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width