Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.

Pedro Sanchez
I have the following piece of code that does nothing to a running job. I added all those lines in an attempt to get it working but originally I tried each call separately and didn't attempt to post the job (none of that worked either).

job.Tasks.ForEach(t => { vcronServer.Jobs.Tasks.Stop(job.Id, t.Id); });

I'm also certain the job is correct because when I manually stop it and call the following block, the job is started

vcronServer.Jobs.Run(job.Id, bolCheckConditions: true);

What is the proper way to stop a job through the API on this version?
Forum information
Scroll to Top