Skip to content

Instantly share code, notes, and snippets.

@dvgamerr
Created January 20, 2021 05:30
Show Gist options
  • Save dvgamerr/ed7150a67bb0deae732c1dccfb9575dd to your computer and use it in GitHub Desktop.
Save dvgamerr/ed7150a67bb0deae732c1dccfb9575dd to your computer and use it in GitHub Desktop.
cronjob with docker Synology NAS and stop notification.
  1. create docker container and not check autostart.
  2. Control Panel > Task Scheduler and create job with command
docker container start task-notify-github
  1. after container finish synology alert notification Docker container ... stopped unexpectedly. access terminal and update update config with command
CONTAINER_NAME=task-cinema-daily && sed -i 's/"enabled" : true/"enabled" : false/g' /var/packages/Docker/etc/$CONTAINER_NAME.config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment