How to auto restart periodically.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm leaving for a week and was hoping I could have my computer run an
automatic program. A week may be too long to go without a restart so I want
my computer to restart maybe every 24 hours or so. Is there a way to do this?
 
Hi Ben
This will do the job.
create a new text document and add the folowing..

SHUTDOWN -r -t 01

then save the document as restart.bat to your desktop saving as all files,
not text

you can now use the shedualed tasks to run this batch file on a daily basis.

just add the programs you want to run to your startup, and enjoy your
holliday.

this will give you what you need
 
If I want to find out more about how to write this type of batch programs,
where is a good place to start?

Any books/online rescources you recommand?
 
Hi Frankyz.

This should at least get you going, very handy if not a bit messy for a web
site. still good though

http://www.allenware.com/icsw/icswidx.htm

Good Luck

Jason
...................................................................................................................
 
Jason said:
Hi Ben
This will do the job.
create a new text document and add the folowing..

SHUTDOWN -r -t 01

then save the document as restart.bat to your desktop saving as all
files, not text

you can now use the shedualed tasks to run this batch file on a daily
basis.

just add the programs you want to run to your startup, and enjoy your
holliday.

this will give you what you need


Yes, *but*...

If the system doesn't log him on automatically, it won't get past the logon.
He also needs to set it for autologon.

If anything slightly abnormal occurs during the startup, and he gets
prompted for a keystroke or mouse click to continue, the startup won't
complete.

My guess is that the risk of something screwing up the completion of the
startup is greater than the risk of problems caused by running a week
without a restarting. If it were me, I'd just let the computer run for the
week, but even then, I wouldn't be confident that it would always be
running.

--
Ken Blake - Microsoft MVP Windows: Shell/User
Please reply to the newsgroup




 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top