在/usr/syno/bin/ 下建立sh腳本,例如clean.sh
sudo chmod +x clean.sh
find /volume1/shareDoc/TestLog/ -type f -name '星号PASS星号' -delete -print
find /volume1/shareDoc/TestLog/ -type f -mtime +90 -delete -print
find /volume1/shareDoc/TestLog/ -type d -empty -delete
然後添加到/etc/crontab 檔案中
然後需要重新開機crontab服務:
synoservice -restart crond
synoservice -status crond