There is no such function. Best you can do is to write your own function to calculate next run time. Why do you need this? 24x7 COM and Java APIs feature JobForecast function that returns forecast for all jobs. Take a look, maybe it does what you want. If you want to get forecast for a particular job you can parse the output and find next run time for that job. COM API can be also called from VBScript jobs, though jobs must be run detached. : Is there a way to calculate or determine a Job's next run date and time given : just the job number? There are a number of Job functions but I am unable : to see a "JobNextRun" function
|