Hi,
I'm working on a Dot Net application which uses the VisualCron API in 7.5.0 beta.
It seems, it is not possible to activate/deactivate a trigger through the API. There is no error message and nothing happened.
Code to try to activate the trigger:
VisualCron.JobClass jc = s.Jobs.GetJobByName(sNameOfJob);
foreach (VisualCron.TriggerClass tc in jc.Triggers)
tc.Active = true;
s.Jobs.Update(jc);
Is it possible to fix this in the 7.5.0 version please?
Edit: My fault, this works fine, the user must have right to modify the job.
Many thanks,
Kind regards,
Sylvain
Edited by user
2014-10-28T09:48:45Z
|
Reason: Not specified