How to keep script updated? #178
-
I have the script scheduled to run on boot up, but of course that doesn't happen very often. Is there a switch or something I could schedule to run more often that only updates the script if there's a new version? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You can use the autoupdate update option.
I'd recommend setting the age to 3 days or more, because I do occasionally make a mistake that I may not notice right away. When your Synology reboots and runs the script with the --autoupdate option it will:
If there is no Internet access, after 30 seconds the script will continue running the current version. |
Beta Was this translation helpful? Give feedback.
You can use the autoupdate update option.
I'd recommend setting the age to 3 days or more, because I do occasionally make a mistake that I may not notice right away.
When your Synology reboots and runs the script with the --autoupdate option it will:
If there is no Internet access, after 30 seconds the script will continue running the current version.