Skip to content

Instantly share code, notes, and snippets.

@nshores
Created January 17, 2018 04:46
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save nshores/8915333afa123480469c44fc188a8ab6 to your computer and use it in GitHub Desktop.
Save nshores/8915333afa123480469c44fc188a8ab6 to your computer and use it in GitHub Desktop.
Schedule command to run every day at time.
set event-options generate-event FirmwareUpgrade time-of-day "22:00:00 +0000"
set event-options policy Firmwareupgrade events FirmwareUpgrade
set event-options policy Firmwareupgrade then execute-commands commands "request system software add /var/tmp/jinstall-ex-2200-15.1R6.7-domestic-signed.tgz reboot"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment