Symantec Developer Group

 View Only

Quick Delivery Client Job @OverrideMaintenanceWindows via Web Service

  • 1.  Quick Delivery Client Job @OverrideMaintenanceWindows via Web Service

    Posted Mar 02, 2015 06:42 PM

    I have seen some other related posts for Quick Delivery in which people have performed overridden the maintance windows. While I see this feature for individual tasks, I do not see the option for Client Jobs. I need to use a Client Job since my environment has maintance windows and powershell signing is disabled in our environment which means I have a task to disable signing, run the powershell task, and run a task to enable signing.

    I am using this code to try to run the Client Job with the override via a webservice, and it gives a successfull message and creates a scheduled task:

     

    <inputParameters><parameter><name>@AssignedResources</name><value>AGENTGUID</value></parameter><parameter><name>@CompRequirements</name><value><minWaitTime>1 minutes</minWaitTime><maxWaitTime>10 minutes</maxWaitTime><minCompletion>1 %</minCompletion></value></parameter><parameter><name>@OverrideMaintenanceWindows</name><value><boolean>true</boolean></value></parameter></inputParameters>

    .. However it does not run the Client Job with bypass enabled. I can do the same thing with subtasks and those perform the override to the maintance window without issues and they execute in seconds on the client machine.

    Can someone provide some guidance or a solution?

     

    Related:

    http://www.symantec.com/connect/articles/using-taskmanagement-scheduletaskcustom