how do i reboot XP daily at regular times - automatically!

Hi, I'm running XP Pro. I want my machine to reboot itself several times daily (morning, afternoon and evening). How can i do this? Hope someone can point me in the right direction! Thanks, Graham Glynn The reason for wanting to reboot XP daily at regular intervals during the day is because I am running a webcam fr ...

Windows Software 5498 This topic was started by ,



data/avatar/default/avatar18.webp

1 Posts
Location -
Joined 2004-07-03
Hi,
 
I'm running XP Pro. I want my machine to reboot itself several times daily (morning, afternoon and evening). How can i do this? Hope someone can point me in the right direction!
 
Thanks,
Graham Glynn
 
The reason for wanting to reboot XP daily at regular intervals during the day is because I am running a webcam from this machine using dial-up FTP (unfortunately dont have ADSL in the area...yet!). The machine runs remotely and takes pictures all day long, I want to reboot the machine at regular intervals to prevent the FTP software from locking-up and generally just to keep the whole system running smoothly so I can guarntee the system will keep doing what its supposed to do!
 
The machine runs a webcam on Strandhill Beach in my hometown Sligo in Ireland. The camera takes a photo of the beach every 30 minutes so surfers can get an idea of the weather/ surf conditions on this very popular surf beach!
 
Have a look!
 
www.strandhillsurfcam.com
 
Hope this explains my query a bit more!
 
Graham

Participate on our website and join the conversation

You have already an account on our website? Use the link below to login.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic



data/avatar/default/avatar30.webp

125 Posts
Location -
Joined 2002-03-26
Quote:I want to reboot the machine at regular intervals to prevent the FTP software from locking-up and generally just to keep the whole system running smoothly so I can guarntee the system will keep doing what its supposed to do!


What FTP software are you using? Have you already experienced these types of issues as above? I would suggest that you should not need to reboot the PC for this, this is not a Win9x system; perhaps restart the FTP service if it is locking up; or better yet try another.

If you truly want to do this, you can use the task scheduler in combination with the built-in shutdown command. From a command prompt, type shutdown /? for more information; simplest way is "shutdown -r -t 00" -r signifies reboot and -t is time in seconds. Schedule this when you want it to run.

Now of course what was mentioned above regarding logging on may make a difference as well. Are all of your applications running on this machine services?

If they are the you can use the AT command to schedule the reboot and never have to logon to the PC at all.

If however you are not and have applications that you need to logon with, you will need to setup an automatic login, TweakUI as mentioned above will allow you to do this. Further, you should use the task scheduler to schedule both the shutdown command as well as the applications you need to run.

Lastly, the difference between the AT command and the task scheduler aside from the latter being GUI with the former command line, is that the task scheduler will ask you whose credentials to login with, while the AT command will run your scheduled task under the local system credentials.
Hope this helps, but as above, rebooting really shouldn't be the answer here.


data/avatar/default/avatar37.webp

1 Posts
Location -
Joined 2004-07-13
Go to www.karenware.com and download "Showstopper" it should do all of this!
 
Good Luck!
 
Kay
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Keep on trying, no matter how hard it seems, it will get easier!


data/avatar/default/avatar35.webp

2172 Posts
Location -
Joined 2002-08-26
Why use untrusted 3rd party code when there is the functionality in Windows?
 
Using Task Scheduler, create a task (repeating daily, at your desired time) for the following:
 
SHUTDOWN -r -t 01
 
More information can be read here:
 
http://aumha.org/win5/a/shutcut.php
http://support.microsoft.com/?kbid=317371
 
Note that the Microsoft KB article refers to Windows 2000, but the SHUTDOWN command has the same functionality as the Windows XP version.


data/avatar/default/avatar28.webp

1 Posts
Location -
Joined 2005-07-23
Hmmm,
 
 
I hate when people spit out instructions on how to do something and its not correct. Yes you can reboot a PC from a command line with shutdown -r and yes you can schdule the task manager to run the command prompt. You can NOT however schdule the command prompt to run with the syntax shutdown -r automaticaly.
 
I my self am looking for a way to do this to build a little stability into a basic server I have using XP Pro. If I discover the way I will post how to do it.
 
Dave


data/avatar/default/avatar06.webp

320 Posts
Location -
Joined 2004-12-09
Originally posted by glazer:

Quote:Yes you can reboot a PC from a command line with shutdown -r and yes you can schdule the task manager to run the command prompt. You can NOT however schdule the command prompt to run with the syntax shutdown -r automaticaly. 
Create a batch file with the shutdown command SHUTDOWN -r -t 01 in it then have task scheduler run the batch file.