Info Task scheduler

Currently reading
Info Task scheduler

32
10
NAS
DS218+ DSM 6.2.2-24922-4
Router
  1. RT2600ac
Hey,
Here are some tasks i use.

Deleted directory with the files on a shared folder.
Code:
find "/volume1/Base" -name "OldVersions" -type d -exec rm -r {} \; -prune

Deleted files on a shared folder.
Code:
find "/volume1/Base" -name "[dD]esktop.ini" -type f -delete

Defrag shared folder.
Code:
/sbin/btrfs filesystem defragment -r /volume1/Base

Backup dsm settings.
Code:
/usr/syno/bin/synoconfbkp export --filepath="/volume1/Base/Backup inst DS218Plus/DS218Plus_"$(date +%Y%m%d)".dss"
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads

Thanks ! I overlooked the Triggered Task option
Replies
6
Views
1,695
That is exactly what I do. Probably an old habit from admin days.
Replies
3
Views
1,077
A simple trick to adjust the scheduled run time of a script is to use the unix sleep command as the top of...
Replies
0
Views
962

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Top