Posts

Showing posts from December, 2020

Backup the Synology Task Scheduler

If you are like me and enjoy poking around under the hood of your Synology, you are probably using the DSM Task Scheduler to accomplish many recurring tasks. One concern I had recently is how to backup the configuration of the Task Scheduler. Unliking piping crontab -l to a file, Synology does not appear to provide any documentation on command line operations against the DSM Task Scheduler. I knew there were various syno* commands available, but was not sure if any existed for the Task Scheduler. I am going to deviate from the topic of this post momentarily, but for what I feel is a good reason. I enjoy exploring what I can do via SSH/CLI (and therefore scripting), so locating the available commands is just the first step. My Synology has a rather large data set and using the find command can become problematic. I decided to do some searching on how to exclude directories like (/volume1) from find's search process. First, I came across answers that simply excluded the result