scheduled task (batchfile)

K

Ketaki

Hi,

I have a batchfile, scheduled to run every morning. i have
set it up such that in the mornings when noone is logged
into the machine it can run. It takes about 15-20 minutes
to run since it has ftp etc. But after 8-10 hours also, i
have often seen its status as "running" in the task
scheduler, although it has perfectly finished all its
tasks. i am unable to figure why i can see this status
as "running"?
Also, if i changed its setting to close it after 1 hr of
its start, since i know it runs in less than that, then
there is a warning in the "SchedLgU.Txt" that you tried to
close a task while still running!
If anybody can guide me on this, i would really appreciate
that.

Thanks,
Ketaki
 
M

Matthias Tacke

Ketaki said:
I have a batchfile, scheduled to run every morning. i have
set it up such that in the mornings when noone is logged
into the machine it can run. It takes about 15-20 minutes
to run since it has ftp etc. But after 8-10 hours also, i
have often seen its status as "running" in the task
scheduler, although it has perfectly finished all its
tasks. i am unable to figure why i can see this status
as "running"?
Also, if i changed its setting to close it after 1 hr of
its start, since i know it runs in less than that, then
there is a warning in the "SchedLgU.Txt" that you tried to
close a task while still running!
If anybody can guide me on this, i would really appreciate
that.

Thanks,
Ketaki

If you are unsure if it is running at unpredetermined times,
include an echo of date and time to a logfile. So you can
check if it really runs.

hth
Matthias
 

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