From f47ff3e239ad3514c3f419d33be3b74181cb1366 Mon Sep 17 00:00:00 2001 From: 007revad <39733752+007revad@users.noreply.github.com> Date: Sun, 23 Aug 2026 05:17:42 +1000 Subject: [PATCH] Restore missing LICENSE and how_to_schedule.md --- LICENSE | 21 +++++++++++++++++++++ how_to_schedule.md | 27 +++++++++++++++++++++++++++ images/schedule1.png | Bin 0 -> 60535 bytes images/schedule2.png | Bin 0 -> 12936 bytes images/schedule3.png | Bin 0 -> 18749 bytes images/syno_hdd_db.png | Bin 0 -> 23731 bytes images/syno_hdd_db2.png | Bin 0 -> 10601 bytes 7 files changed, 48 insertions(+) create mode 100644 LICENSE create mode 100644 how_to_schedule.md create mode 100644 images/schedule1.png create mode 100644 images/schedule2.png create mode 100644 images/schedule3.png create mode 100644 images/syno_hdd_db.png create mode 100644 images/syno_hdd_db2.png diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..9c3fcdd --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2023 007revad + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/how_to_schedule.md b/how_to_schedule.md new file mode 100644 index 0000000..d2e65a5 --- /dev/null +++ b/how_to_schedule.md @@ -0,0 +1,27 @@ +# How to schedule a script in Synology Task Scheduler + +To schedule a script to run on your Synology at boot-up or shut-down follow these steps: + +**Note:** You can setup a schedule task and leave it disabled, so it only runs when you select the task in the Task Scheduler and click on the Run button. + +1. Go to **Control Panel** > **Task Scheduler** > click **Create** > and select **Triggered Task**. +2. Select **User-defined script**. +3. Enter a task name. +4. Select **root** as the user (The script needs to run as root). +5. Select **Boot-up** as the event that triggers the task. +6. Leave **Enable** ticked. +7. Click **Task Settings**. +8. Optionally you can tick **Send run details by email** and **Send run details only when the script terminates abnormally** then enter your email address. +9. In the box under **User-defined script** type the path to the script. + - e.g. If you saved the script to a shared folder on volume1 called "scripts" you'd type: + - **/volume1/scripts/syno_hdd_db.sh -nr --autoupdate=3** + - For information on the options see [Options](README.md#options) +11. Click **OK** to save the settings. + +Here's some screenshots showing what needs to be set: + +



a#}1z{ttS}Gs@?XC8-;np2Z7sVtgMMm#?EQ>^?9cIlZ8
zm#KoVxCqq9k0Ep0(w6G4OIqhP)5i07DPLjH!^mFx70xU*gNx3FmRt{`xJ!rX)7iT8
z$n8{A?cBzI{pw#|x(>7=gTDl E{lDFV_xLIjlVE@_c&sUh7UAl=;{BS*exi1&J*``qXK7q+vV*!g|FpE}JS
z->H(SX^D0|D$IMhssw#8F+^;&! b1ZBe=~chI?^E5ypy+RO{L$@M%w&M4W+DvIGpl9R-5Ort
z@pjn2F7Me$S(BfebzwV7s+}*#9vU#4(>BtBLknJ3-yY!G@`5mc847OLZgCatp`{!Q
z{`lzNP@E4s(e<@Nz(yZPYCwME @O&fcRxhaR&lzm*!@TD=9I=W+}MaR4bFC~;Rz$#|{=?j6c3Amn=G2mL#1!4t77
z@^V6cX(tQOw^Rjr30Mr`IbXZw{$VocsilQYn$3OmG?JSp65o;?D$Ou!hH8%nMn$!$UlXS1Qf!iQ*%3s23nQNBSau4
z_xolz`*khk4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