Community forum

Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.
I am using version 6.0.8 of Visual Cron

I would like to programmatically perform actions equivalent to "Stop Job '<jobname>'" when rightclicking on a job in the GUI.

This is to completely automate our deployment, which currently relies on Visual Cron stopping all job processes.

I know how to get the JobClass object for the job I want to work on. Let's call it jobClassObj

I have found the Server.Activate(jobClassObj) but that does not seem to do quite what I want it to if I look at the GUI afterwards.

So what API functions should I call?

Regards, Henrik
Forum information

use serverObj.Processes.KillJobProcesses(string jobId)
Please like  VisualCron on facebook!
Scroll to Top