Can scheduled task close a running application ?

  • Thread starter Thread starter Paul fpvt2
  • Start date Start date
P

Paul fpvt2

We have a VB application that runs throughout the day and
every evening we close the program manually. We are
wondering if there is a way to close an application
automatically using scheduled task (Control Panel -
Scheduled task).
Thanks.
 
Paul fpvt2 said:
We have a VB application that runs throughout the day and
every evening we close the program manually. We are
wondering if there is a way to close an application
automatically using scheduled task (Control Panel -
Scheduled task).
Thanks.

Go ahead and configure the App to start from the
Task Scheduler (in the first place).

Then you can use the settings TAB to limit the run
time of your App, or set a stop time for the end of
your shift. Either way, the TS gives you complete
control of the lifetime of your App. as long as you started
it there.

hth,
tlviewer
 
Paul fpvt2 said:
We have a VB application that runs throughout the day and
every evening we close the program manually. We are
wondering if there is a way to close an application
automatically using scheduled task (Control Panel -
Scheduled task).
Thanks.

Easy - schedule kill.exe to terminate the VP application!
Kill.exe comes with with Win2000 Resource Kit. I believe
that there is a free version pskill.exe available from
www.sysinternals.com.
 
Thank you very much.
Did you mean once I created the Scheduled task (say to
run everyday at 8 am), go back to its properties and go
to tab "Settings" and check the checkbox "Stop the task
if it runs for x hours y minutes" ?

Thanks.
-----Original Message-----

"Paul fpvt2" <[email protected]> wrote
in message news:[email protected]...
 

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

Back
Top