Not sure if this can be done. The only thing I can think of is having 2-job solution Have job A with [no schedule] and having job B scheduled as needed and running job A In this situation job B can set some flag seen by job A and then after A is complete turn that flag off. This way when job A is run manually using Run Now the flag is off and it knows it is running in the "run now" mode. Depending on the job type you can use global variables, semaphore files, changes in INI or registry as a place to set such flag. : Is there a way to code for whether the job being executed : was submitted through the Run Now button or a scheduled run. : For instance. I want a job to skip a procedure if it : was submitted via the Run Now botton but would execute : the procedure if it was submitted via a scheduled run.
|