Scheduled task from standby---help!

G

Guest

I having probems running a scheduled task from standby. I schedule a simple
task to run a .exe file. Check "wake from standby". It wakes up at the
scheduled time but doesn't run the file. The login screen appears for a
minute then goes back to standby. I've disabled require password upon
waking...still doesn't run. I've disabled the need for password from
boot...still doesn't run. I've tried running from SYSTEM user....no change!

Any help greatly appreciated!
 
G

Guest

Addt. info:

task won't run while logged on (i.e. NOT in standby) and "run on demand" is
checked, yet won't run on demand...
The .exe file (or, tried .bat as well) works if run from command
prompt...please help!...I don't know where to start troubleshooting. Seems
like a problem w/ Task Scheduler in general

Thanks,
 
J

Jon

Couple of things to try

(1) Right-click on the task within Task Scheduler, and choose Run. Does it
run correctly? This will show whether the task itself is set up correctly in
terms of Program path / arguments etc

(2) Double-click the task and have a look on the History tab. See if there
are any error messages in there at the time your task should have run.
 
G

Guest

thanks for the reply....

The task does not run when clicking "run" from task task scheduler. I even
tried moving the file to c:\ to make sure the path was correct and still
doesn't run. If I double click the icon from windows explorer...it runs
correctly. If I run from the DOS prompt, it runs correctly.

The 'history' reveals no error messages. there are about 4 messages that
indicate the task triggered and ran, but it for sure doesn't run....

any other troubleshooting thoughts?

Thanks again,
 
J

Jon

ksipp01 said:
thanks for the reply....

The task does not run when clicking "run" from task task scheduler. I
even
tried moving the file to c:\ to make sure the path was correct and still
doesn't run. If I double click the icon from windows explorer...it runs
correctly. If I run from the DOS prompt, it runs correctly.

The 'history' reveals no error messages. there are about 4 messages that
indicate the task triggered and ran, but it for sure doesn't run....

any other troubleshooting thoughts?

Thanks again,

2 more thoughts (my thoughts always come in pairs) ....

(1) Possibly to do with the particular account that you are trying to run
the task with (General tab for the task). Is it the account that you are
logged in with?

If it's not the account you're logged in with for example that account
would need access rights to the particular resource and / or executable
program.

(2) Also run through your other settings eg unchecking the 'Start only if
the task is idle for...' (Conditions tab) which would also stop it running
if you are active on the machine.
 
G

Guest

Start only if comp. is idle is UNchecked. Start only if on AC is
checked(tried unchecking...no change). Stop if on battery is unchecked. Run
on demand is checked

runs in my user accout. asks for password end end of setting up...which is
entered correctly. tried running under SYSTEM account, no change. Tried
"highest privileges"...no change.

I just tried another simple batch command to ping router, which also runs ok
from DOS but not from scheduler....

thanks for sticking w/ me!...still confused
 
J

Jon

ksipp01 said:
Start only if comp. is idle is UNchecked. Start only if on AC is
checked(tried unchecking...no change). Stop if on battery is unchecked.
Run
on demand is checked

runs in my user accout. asks for password end end of setting up...which
is
entered correctly. tried running under SYSTEM account, no change. Tried
"highest privileges"...no change.

I just tried another simple batch command to ping router, which also runs
ok
from DOS but not from scheduler....

thanks for sticking w/ me!...still confused

:




Try checking the 'Run only when user is logged on ' on the general tab
rather than 'Run whether user is logged on or not' to see if that works
correctly.



Otherwise, I can only think that the program isn't set up correctly on the
Actions tab

Actions tab > Click on action > Edit

Can you provide an example that doesn't work of what you have in these 2
boxes?

Program / Script
Arguments
 
G

Guest

Tried 'run only when user is logged in' no change.

Program/script "c:\scan.bat" w/out quotes

arguments is blank

scan is executable autohotkey script....that works outside scheduled tasks
thanks
 
T

Translator French - English - Creole

you said that if you choose run now it works right? or is it it won't run
from task manager at all?

--
Capt. Jonathan Perreault

Personnal Advice To You:
#1: Do Not Undermine Windows's Work, Or It'll Undermine You As A User.
#2: Torture Windows (Any) Now Before It Tortures You
#3: Windows Is Bad Enough In English, Why Get It In Another Language

Best Comments From Users:
No Matter The Problem Even With Linux, It's Microsoft's And Windows's Faults

A common mistake that people make when trying to design something completely
foolproof is to underestimate the ingenuity of complete fools.
 
G

Guest

update:

so taking some of Jons adivse, I've played more w/ some of the check
boxes...unchecking "if the task fails, restart every" and "stop if task runs
longer than:"

now runs on schedule while logged in and 'on demand'..I'll test later if
wakes(crying kids and wife fed up w/ me sitting here!)....this is promising
and I think I'll be able to figure it out from here, will post more if
not...THANK-YOU!
 
G

Guest

still having problems

Now i'm able to run ONLY while logged in or 'on demand'.

Task was created under 'my' user account. entered password. under
properties for the executable file, security, allowed full control for 'my'
account.

Task will NOT run if checked 'run wether logged in or not'. If this box is
checked and i hit run while in task scheduler, the status show running, but
the task doesn't actually run. Check 'run only if looged in'...task works
fine.

Any suggesetions?...thanks
 
G

Guest

I'm can't get Task Scheduler to work consistently. It fails to run while in
Sleep. I have approx 6 tasks that run while I'm using the laptop during the
day. These are On a Schedule/Display a message. They always work. What
fails are the two tasks that Start A Program (selecting an .exe file). They
are scheduled to run at midnight. Sometimes they work correctly for 4 days
in a row. I think I have it figured out. Then, like now, 3 days it's not
working. I have checked and unchecked until I'm blue. I'm now to the point
of just executing the program myself and having those programs activate on
their own scheduled timers.

I'm on a laptop, I've tried just closing the lid, so it's in sleep. I've
tried selecting Sleep, I've even tried, Never Sleep. No setting works
consistently, if ever.

Is there a better scheduling program? I used to use ClocX for Windows XP
and loved that program, but it's abandonware and doesn't play well with Vista.

I would have thought that Task Scheduler would be a perfect answer. It has
many settings and I can tweak it just the way I like it, if it would just
work!
 

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

Top