night-time auto-reboot? windows 98 version
Thomas Lovie
tlovie at cr434095-a.glph1.on.wave.home.com
Sun Oct 29 17:21:57 PST 2000
The instructions I gave were for Windows2000. If you have windows98 or
windowsME, you can check out Microsoft knowledge base article Q234216,
available at: http://support.microsoft.com/support/kb/articles/Q234/2/16.ASP
I would have included an excerpt from the article, but it was accompanied by
a terms of use document that was longer than the article. Just check out
the link.
I think that this is the official microsoft way of doing it. I don't have a
machine running windows 98, so I'm not sure what that program you linked
actually does. I don't read that language (Danish I think), so that program
might be some homegrown thing and may not accept the arguments that the
version from the windows2000 resource toolkit does for windows 2000.
Good Luck,
Thomas Lovie.
>
> Thank you very much Thomas Lovie.
>
> I try to make it out of Windows 98(not Window 2000) to Redhat6.1
> Linux at 8pm, into Windows at 6am.
>
> In the Linux, I didn't change the /ect/crontab. instead, I made a
> script called "dos" and put it /etc/cron.daily/ directory.
>
> the dos script is like below;
>
> #/bin/sh
> 0 6 * * 0-7 /sbin/lilo -R dos; /sbin/shutdown -r 6:05
>
> It worked nicely.
>
> but in the Windows98, I can't find the "shudown.exe".
> So I donwload "shutdown.exe" from
> http://mvmpc9.ciw.uni-karlsruhe.de/Help/Shutdown.htm
> and using the win98 Scheduled Task manager. I made a schedule to
> shutdown 8pm.
>
> shutdown /l /r /y /t:5 /c
>
> But When times come, Win98 just shutdown only without
> Reboot.(Just Power off).
> I need your advice.
>
>
> >
> > The linux side is easy, you just put an entry in root's crontab
> like this:
> > 0 6 * * 1-5 /sbin/lilo -R dos; /sbin/shutdown -r
> >
> > This will reboot the machine into the 'dos' operating system at
> 6:00 am each
> > Monday to Friday morning.
> >
> > In windows 2000, you can use the SHUTDOWN.EXE command from the
> windows 2000
> > resource kit called from the Scheduled Task manager. The
> command should be
> > called as follows:
> > shutdown /l /r /y /t:5 /c
> > where,
> > /l = local
> > /r = reboot?
> > /y = yes
> > /t = time
> > /c = close(?)
> >
> > With lilo set up to boot Linux by default, the machine will
> boot into Linux
> > when called from windows 2000, and the cron script will make
> sure that the
> > machine boots into windows when rebooted via cron.
> >
> > Tom Lovie.
> >
More information about the Beowulf
mailing list