Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Scheduled reboot doesn't run

Posted on 2009-04-01
6
Medium Priority
?
1,170 Views
Last Modified: 2012-05-06
I'm trying to schedule a reboot of a Small Business Server 2003, by scheduling a task to run in taskscheduler, that runs a batch file called reboot.bat. The batch file contains the following:

shutdown /r /t 600 /f

So it's set to wait 600 seconds, and force a restart. However, despite it being scheduled and the script tested on another server (it works there), absolutely nothing happens when I try to run it on this box. We need it to run early in the morning as the server is in almost constant use.

Any ideas why this may not be running?
0
Comment
Question by:teknite
  • 4
  • 2
6 Comments
 
LVL 21

Expert Comment

by:JBlond
ID: 24037493
Does the server reboot using the script if you execute it manually?
0
 

Author Comment

by:teknite
ID: 24037506
At the moment I don't know, as we can only reboot the server between 2AM and 7AM! I'll try and find out if we can schedule a test run. Cheers!
0
 
LVL 21

Expert Comment

by:JBlond
ID: 24037519
Check also which user account is used for the scheduled task. Maybe the user account doesn't have the permission to initiate a restart.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:teknite
ID: 24085004
Hi

I tested the batch file manually, it ran fine. The user account the scheduled task is set to run as is the administrator account, the properties for the "run as" field in the properties for the scheduled task read *domain name*\administrator. Other scheduled tasks seem to run ok, any other ideas? Thanks
0
 

Accepted Solution

by:
teknite earned 0 total points
ID: 25134433
It seemed that just running through the wizard instead of going through "file - add scheduled task" fixed this. Random.
0
 

Author Comment

by:teknite
ID: 25354965
We have resolved the problem.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of problems and solutions are available on the net for the error message "Source server does not meet minimum requirements for migration" while performing a migration from Small Business Server 2003 to SBS 2008. This error pops up just before …
Written by Glen Knight (demazter) as part of a series of how-to articles. Introduction One of the biggest consumers of disk space with Small Business Server 2008(SBS) is Windows Server Update Services, more affectionately known as WSUS. For t…
Loops Section Overview
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…

879 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question