Automate a Batch File

I currenlty have a batch file that goes through a folder and deletes files old than XX days. This folder is constantly being updated and data is being put into the folder. I am looking for some sort of task scheduler where the nas can trigger it to run every couple of hours. I have heard of cron, but I am not sure that is avaliable on my PR4100 NAS. I am not looking for this to be run from a windows, mac machine looking for the NAS to execute it.

[quote=ā€œmikepmerrell, post:1, topic:211816, full:trueā€] I have heard of cron, but I am not sure that is avaliable on my PR4100 NAS.
[/quote]
Have you searched through the dedicated WD Pro Series subforum to see if there are any past discussions that may be relevant to your issue/question? This subforum is typically covering issues related to the single bay/single drive My Cloud units.

https://community.wd.com/c/network-attached-storage/wd-pro-series

In particular these two discussions:

https://community.wd.com/t/guide-how-to-make-persistent-system-changes-crontab-etc/201268

https://community.wd.com/t/guide-crontab-demystified/201588

1 Like