Scheduled reboot doesn't run

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?
tekniteAsked:
Who is Participating?
 
tekniteConnect With a Mentor Author Commented:
It seemed that just running through the wizard instead of going through "file - add scheduled task" fixed this. Random.
0
 
JBlondCommented:
Does the server reboot using the script if you execute it manually?
0
 
tekniteAuthor Commented:
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
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

 
JBlondCommented:
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
 
tekniteAuthor Commented:
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
 
tekniteAuthor Commented:
We have resolved the problem.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.