Windows Thread, Task scheduler always fails to run script at a specific time in Technical; We have a plasma screen connected to a PC showing a Powerpoint.
It gets turned off every night with a ...
-
15th December 2006, 08:51 AM #1 Task scheduler always fails to run script at a specific time
We have a plasma screen connected to a PC showing a Powerpoint.
It gets turned off every night with a psshutdown script and switched on every morning with WOL, to save power and to allow a startup script to run that copies the new powerpoint over
Anyway, every weeknight apart from Thursday it goes off at 7pm, and always works, for which I have one task.
On Thursdays they want it off at 10pm because of after school stuff.
So I have a second task created for Thursday.
But the script never runs on a Thursday. I always get the result of 0x1 in task scheduler which I believe is a fail
Ive tried this now on 2 servers and it fails from both of them. I know the script works so it isnt that.
I take it, that by the 0x1 result, the script hasnt even attempted to run?
Anyone got any ideas? Should there be an event log entry for it? I cant find one...
-
-
IDG Tech News
-
15th December 2006, 09:07 AM #2 Re: Task scheduler always fails to run script at a specific time
Does the Thursday 10pm one work properly if you go to "Run now" by right-clicking the task? If so it must be the schedule settings, or that it is getting shutdown before the script runs at 10pm.
It might be better to schedule the native Windows "shutdown -s -f" command as it might (not sure though) log the events.
-
-
15th December 2006, 10:27 AM #3 Re: Task scheduler always fails to run script at a specific time
Often the best way to fix these problems is to re-create the schedule... also check the login credentials that you are using.
-
-
15th December 2006, 10:27 AM #4 Re: Task scheduler always fails to run script at a specific
Yeh just tried it and it works when I do run now
Also when its turned off and I do run now, the result changes to 0x1
So I suppose that answers it - someone is turning it off
So simple
ops:
Cheers
-
-
15th December 2006, 12:14 PM #5 Re: Task scheduler always fails to run script at a specific time
Lol, how helpful of them
-
SHARE: 
Similar Threads
-
By timbo343 in forum Scripts
Replies: 15
Last Post: 19th September 2007, 10:46 PM
-
By sidewinder in forum Scripts
Replies: 9
Last Post: 10th May 2007, 10:13 AM
-
By timbo343 in forum Scripts
Replies: 1
Last Post: 3rd April 2007, 03:41 PM
-
By pmassingham in forum Windows
Replies: 0
Last Post: 29th June 2006, 07:32 AM
-
By NetworkGeezer in forum Windows
Replies: 7
Last Post: 1st June 2006, 05:13 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules