Win2000 Task Scheduler not working properly

A

Ali Syed

Hi:

I create a simple task scheduler test by creating a task for
Calculator.
Give everyone access to this and have the Administrator as the owner.

The task should launch at 3:00 pm (not 2:55 pm)....logoff as Admin adn
logon as me (regular power user)...advance the clock to 2:59 pm ...3
pm comes and goes nothing......


Applied SP3 and try again after reboot....nothing


HOWEVER: am able to create task as Admin when logged in as
Administrator and it will work provided I don't logoff..once i logoff
and login as someone else..it don't work......can see the task
sceduler running but doesn't launch calculator.


Any HELP would be appreciated......



Thanks


Ali

Objective: Need to run a vb exe fully automated at a time set in a ini
file....
I could have the program constantly running using timer control but
that's just silly....hopefully the schedule task will run
 
P

Pegasus \(MVP\)

Ali Syed said:
Hi:

I create a simple task scheduler test by creating a task for
Calculator.
Give everyone access to this and have the Administrator as the owner.

The task should launch at 3:00 pm (not 2:55 pm)....logoff as Admin adn
logon as me (regular power user)...advance the clock to 2:59 pm ...3
pm comes and goes nothing......


Applied SP3 and try again after reboot....nothing


HOWEVER: am able to create task as Admin when logged in as
Administrator and it will work provided I don't logoff..once i logoff
and login as someone else..it don't work......can see the task
sceduler running but doesn't launch calculator.


Any HELP would be appreciated......



Thanks


Ali

Objective: Need to run a vb exe fully automated at a time set in a ini
file....
I could have the program constantly running using timer control but
that's just silly....hopefully the schedule task will run

The Task Scheduler runs tasks in the background. Testing it
with an application that requires user intervention (such as calc.exe)
is not a good way to test its operation. Instead you could create
a batch file c:\test.bat with the lines below, get the Task Scheduler
to run it, then examine its log files.

@echo off
echo %date% %time% Start of task > c:\test.log
echo User=%UserName%, Path=%path% >> c:\test.log
c:\Tools\YourTask.exe 1>>c:\test.log 2>>c:\test.err
echo %date% %time% End of task >> c:\test.log
 
A

Ali Syed

I beg to differ.
The task scheduler should run the calculator program regardless.
I just want the darnt hing to start as in run...it's not....
I don't really care what it starts cause my end goal is to have it run
a vb app...since it won't run the calculator it wont hence run the
app.
 
P

Pegasus \(MVP\)

You're welcome to differ - but what's the result of you
running the batch file I proposed?
 

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