Giter Site home page Giter Site logo

adamg1010 / runwsusofflineupdate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from michealespinola/runwsusofflineupdate

0.0 0.0 0.0 0 B

A script to selectively start and stop the wsusoffline script on Synology NAS

License: GNU General Public License v3.0

Shell 100.00%

runwsusofflineupdate's Introduction

GitHub top language GitHub Donate

runWsusOfflineUpdate

This is a bash script to selectively start and stop the wsusoffline script on Synology NAS. This allows you to more granularly control when it runs; such as manually, a scheduled system task, or executed by other mechanisms.

This script does the following:

  1. Check if the wsusoffline docker container is running
  2. If not, start the container
  3. Check its status every 15 seconds to see if its completed its cycle and paused at its default 48h sleep mode setting
  4. If it is sleeping for 48h, stop the container

I wrote this script because there is no reason to have this container running and looping a script every 48h when Windows Updates are typically released the second Tuesday of the month (aka "Patch Tuesday").

Microsoft schedules the release of security updates on "Patch Tuesday," the second Tuesday of each month at 10:00 AM PST.

Depending on time zone(s) in which the organization operates, IT pros should plan their deployment schedules accordingly. Please note that there are some products that do not follow the Patch Tuesday schedule.

runwsusofflineupdate's People

Contributors

michealespinola avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.