M
Matthew Connor
Hi all!
I need to be able to create Windows Scheduled Tasks and then read
the properties of those tasks back in VB6. Because I could not find
any APIs to interface with Windows Task Scheduler, I have shelled out
to the AT.EXE command and passed the parameters there. So at this
point, I have a working program that creates tasks to my liking. If
any of you know a better way to do it (say, through an API call) I
would very much like to know how.
However, my biggest problem is that at a later date, I need to be
able to access the job I created by name and read back the properties
of it such as the time, days, and executable path. I need to do this
because the a user may change the job manually and I need to know
about that. Does anyone have any idea how I can do this? I created a
task, made a copy of it and bumped the run time up by one minute. I
then ran a binary comparison on the two job files hoping for only a
one byte change. No such luck. MANY bytes change.
Thanks for any input!
Matthew
I need to be able to create Windows Scheduled Tasks and then read
the properties of those tasks back in VB6. Because I could not find
any APIs to interface with Windows Task Scheduler, I have shelled out
to the AT.EXE command and passed the parameters there. So at this
point, I have a working program that creates tasks to my liking. If
any of you know a better way to do it (say, through an API call) I
would very much like to know how.
However, my biggest problem is that at a later date, I need to be
able to access the job I created by name and read back the properties
of it such as the time, days, and executable path. I need to do this
because the a user may change the job manually and I need to know
about that. Does anyone have any idea how I can do this? I created a
task, made a copy of it and bumped the run time up by one minute. I
then ran a binary comparison on the two job files hoping for only a
one byte change. No such luck. MANY bytes change.
Thanks for any input!
Matthew