How To: Schedule A Task To Publish Only The Newly Released Updates Of A Specific List Of Products

Version 7



    This document is intended to provide a basic walk-through of setting up and using automatic scheduling to publish and synchronize only the latest software updates of a specific list of products via the Shavlik Patch plugin for SCCM, and to describe how some of this process works.


    Setting Up the correct Filters

    1) Create a new Smart Filter to create a list of all the products you are interested in:

      Here is a complete tutorial on Filters in Shavlik Patch : How To: Use Smart Filters and Composite Filters in Ivanti Patch for SCCM 2.3+



    2) Create a second Smart Filter to look for the patches that were released the last 7 days (we will create a scheduled task running every week, but you can adjust the number of days):


    3) Create a new Composite Filter with the two filters previously created in order to look for the patches/updates that were released the last 7 days for the list of product you would like to patch:


    Setting Up an Automatic Schedule


    1) Right click on the Shavlik Patch section, then choose Settings.


    2) Go to the Schedule tab.

    3) Check the box 'Schedule Download and/or Publication'.

    4) Set up the schedule for the time(s) when you prefer this to take place, we will schedule this to run every Saturday 9am.

    5) Set up the 'At the scheduled time' section.

    • Publish the updates selected by this filter : Choose the Composite Filter created in the first section of the document ("ProductSchedule" in this example).
    • Checking 'Accept all metadata updates in the catalog' will allow the automatic publication to accept all revisions on updates previously published.
    • Checking 'Synchronize updates' will initiate a synchronization of software updates after publishing is complete.


    • 'Schedule the task to run as' will allow you to choose the account that the scheduled task will be run as.


    Information Worth Noting


    • You can view the scheduled task(s) set up from Shavlik Patch within the Task Scheduler (taskschd.msc) on the system where Shavlik Patch is installed.
      • Expand Task Scheduler Library > click Shavlik Patch to see scheduled tasks set up for Shavlik Patch.


    • Only one automatic schedule can be set up at a time per logged on user.
    • If you want to stop or delete the automatic schedule that is set up, you can either;
      • Within Shavlik Patch Settings > Schedule tab, uncheck the 'Schedule Download and/or Publication' box.
        • The scheduled task should be deleted by doing the above.
      • Or, you can just go into Task Scheduler and delete the scheduled task.
    • There may be other scheduled tasks displayed because every time you run a publish, even 'publish now', Shavlik Patch uses a scheduled task to run the operation.
    • If you are checking for tasks or history of tasks that were run within Task Scheduler, you may need to 'Enable All Tasks History'.




    Additional Information


    Additional Information for Shavlik Patch use and requirements can be found in the online documentation.


    Affected Product(s)


    Shavlik Patch for Microsoft System Center