Adding Reboot to a Scheduled Task on Win 2K

Microsoft Windows operating system, and software for Windows platform, including QuickTime Player and iTunes for Windows. We also discuss topics about Microsoft Corp.

Moderators: Josh, Don_HH2K, Mandrake

Adding Reboot to a Scheduled Task on Win 2K

Postby jramsay » Tue 23 Dec, 2003 2:29 pm

Hi folks,
Wonder if anyone can help me? I have a scheduled task set to run after a certain idle time. Seems that after this scheduled task has run, my computer fails to show up on our local network, and has to be rebooted. So I'd like to add a reboot command to my scheduled task.

Does anyone have any idea how I can do this?

Thanks a lot in advance,
Jill
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
jramsay
junior member
junior member
 
Posts: 10
Joined: Sat 22 Nov, 2003 9:00 pm

Postby localhost » Sun 28 Dec, 2003 5:58 pm

Don't know how good your at this, but the command line option is:
shutdown -r

You could always make this happen a msdos .bat file.
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7a) Gecko/20031227
--People who say it can't be done, should not interrupt those who are doing it.--
User avatar
localhost
super member
super member
 
Posts: 178
Joined: Tue 07 Jan, 2003 3:23 am
Location: Netherlands

Postby jramsay » Fri 02 Jan, 2004 3:37 pm

Perfect, that's exactly what I was looking for. Thanks a bunch.

Jill
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
jramsay
junior member
junior member
 
Posts: 10
Joined: Sat 22 Nov, 2003 9:00 pm

Postby Antony » Fri 02 Jan, 2004 7:27 pm

Hello Jill,

But how do you auto login?
UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) AppleWebKit/85.7 (KHTML, like Gecko) Safari/85.6
User avatar
Antony
diamond member
diamond member
 
Posts: 14509
Joined: Tue 18 Jun, 2002 11:36 pm
Location: Sydney, Australia

Postby localhost » Sat 03 Jan, 2004 8:15 am

If you store your users password (or don't have one) then Win2k by default logs in automatically.
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7a) Gecko/20031231
--People who say it can't be done, should not interrupt those who are doing it.--
User avatar
localhost
super member
super member
 
Posts: 178
Joined: Tue 07 Jan, 2003 3:23 am
Location: Netherlands

Postby jramsay » Mon 05 Jan, 2004 9:40 am

Why do I need to login? I leave my machine logged in but locked with a screensaver. The scheduled task runs after a certain idle time. I don't mind if I am logged out when I come back to it, shouldn't stop me from being visible on the network... unless I'm missing something?

Jill
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
jramsay
junior member
junior member
 
Posts: 10
Joined: Sat 22 Nov, 2003 9:00 pm


Return to Windows (and Microsoft talk)

Who is online

Registered users: Google [Bot]