Task scheduler on xp questions

 
Post new topic    LakersGround.net Forum Index -> Off Topic Reply to topic
View previous topic :: View next topic  
Author Message
Laker_Town
Retired Number
Retired Number


Joined: 26 Jun 2006
Posts: 25604

PostPosted: Tue Oct 02, 2007 8:11 am    Post subject: Task scheduler on xp questions

I want to be able to schedule a shutdown daily at 2pm. Ive found some nice shutdown programs but the problem is they wont run when the PC is logged off.

Does task scheduler run even when the pc is logged off?

I know I can use the shutdown program to be called upon by the task, but I cant seem to make it work.

Plus using the command lines just confuses me...especially the part about adding the -s in the run command..( does that mean add it after the shudown.exe -s)??


By the way..I cant have the computer not log off( Im using STEADY STATE with log off timer)
Back to top
View user's profile Send private message Reply with quote
Mongo
Star Player
Star Player


Joined: 19 Jun 2001
Posts: 2585

PostPosted: Tue Oct 02, 2007 10:06 am    Post subject: Re: Task scheduler on xp questions

Laker_Town wrote:
I want to be able to schedule a shutdown daily at 2pm. Ive found some nice shutdown programs but the problem is they wont run when the PC is logged off.

Does task scheduler run even when the pc is logged off?

I know I can use the shutdown program to be called upon by the task, but I cant seem to make it work.

Plus using the command lines just confuses me...especially the part about adding the -s in the run command..( does that mean add it after the shudown.exe -s)??


By the way..I cant have the computer not log off( Im using STEADY STATE with log off timer)


Yes, the scheduler will run without anyone being logged in as it runs under the system account. You probably want to include the -f directive to force all applications to close as well (otherwise the shutdown will not occur if the application is 'waiting') so the full command would be "shutdown -s -f". I would try it from the command line first before putting it in your scheduler just to make sure it behaves like you think it should.
Back to top
View user's profile Send private message Reply with quote
Lakersfield
Star Player
Star Player


Joined: 11 Apr 2001
Posts: 6003

PostPosted: Tue Oct 02, 2007 11:05 am    Post subject:

In the Task Scheduler when creating new task, there is a check box to "Run only if logged on".
_________________
Started posting on Lakersground when it was lakers/rivals.com since Aug.2000.
Back to top
View user's profile Send private message Reply with quote
Laker_Town
Retired Number
Retired Number


Joined: 26 Jun 2006
Posts: 25604

PostPosted: Tue Oct 02, 2007 11:10 am    Post subject: Re: Task scheduler on xp questions

Mongo wrote:
Laker_Town wrote:
I want to be able to schedule a shutdown daily at 2pm. Ive found some nice shutdown programs but the problem is they wont run when the PC is logged off.

Does task scheduler run even when the pc is logged off?

I know I can use the shutdown program to be called upon by the task, but I cant seem to make it work.

Plus using the command lines just confuses me...especially the part about adding the -s in the run command..( does that mean add it after the shudown.exe -s)??


By the way..I cant have the computer not log off( Im using STEADY STATE with log off timer)


Yes, the scheduler will run without anyone being logged in as it runs under the system account. You probably want to include the -f directive to force all applications to close as well (otherwise the shutdown will not occur if the application is 'waiting') so the full command would be "shutdown -s -f". I would try it from the command line first before putting it in your scheduler just to make sure it behaves like you think it should.



can you explain this more in detail? Im not sure wher I sohuld add the commands -s and -f

thanks
Back to top
View user's profile Send private message Reply with quote
Display posts from previous:   
Post new topic    LakersGround.net Forum Index -> Off Topic All times are GMT - 8 Hours
Page 1 of 1
Jump to:  

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum






Graphics by uberzev
© 1995-2018 LakersGround.net. All Rights Reserved. Privacy Policy. Terms of Use.
LakersGround is an unofficial news source serving the fan community since 1995.
We are in no way associated with the Los Angeles Lakers or the National Basketball Association.


Powered by phpBB