How do I Use Acc 2000 to retrieve Task Properties

  • Thread starter Thread starter JerryC
  • Start date Start date
J

JerryC

I have a Access application that will run using the
Windows Task Scheduler.
When my application starts I want to look at the Task
Scheduler to determine which report I want to produce.

Is there a way to look at the Task properties from Access
code?

Thanks for any ideas.
 
what you can do - is to either check time in access (this will give an idea
what task is runs) or run each access task in Task Scheduler with different
command line argument, and then read it in access using Command() function.
 
I need to know if Task Scheduler has Daily checked,
Weekly checked and if Daily was checked then is it Every
day or what DOW. Also what time it was scheduled for.

This application will be sent to several sites and each
site will have it's own task schedule set up. They may
even change the schedule to meet their needs.

I need to have Access Autoexec macro run code to look at
the Task Scheduler parameters to determine which report
query to run. Then code will put the printed date in the
required table so it will not be printed more then once
per day or week.

Where is the Task Scheduler paramenters stored and what
are the Task Scheduler varible names?
 
Hi,
at me tasks are stored in windows\tasks folder as .job files. probably
should be some kind of API to read/modify jobs. try to look at MSDN or ask
at appropriate group
 
Back
Top