Info Task scheduler

Currently reading
Info Task scheduler

31
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.

Welcome to SynoForum.com!

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

Registration is free, easy and fast!

Similar threads

Similar threads

Trending threads

Top