Check scheduled jobs programmatically
I have inherited a nightmare application. However I can not really do much to the code itself. That is in the hands of a team of developers. I can only make it work on the huge gov't network. I have a development version I can mess around with and then make suggestions to the dev team for changes.
The problem is complex so I'll just cut to the chase. Is there a way of seeing when a scheduled job is scheduled to run? It is a one time job. Once it has run it actually recreates itself and schedules itself for the next night. Seriously, don't ask. See above paragraph for all questions about why it is done this way.
I'm thinking I will have to have a flag set or something for when the job completes. If that flag is not set, then another scheduled task will reschedule the primary task. But being able to read the schedule would be nicer.
