scheduled task (batchfile)

  • Thread starter Thread starter Ketaki
  • Start date Start date
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
 
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
 
Back
Top