How to run "Delete recycle bin" task every week instead of every day

    • OMV 3.x (stable)
    • How to run "Delete recycle bin" task every week instead of every day

      Hi,
      I have a setup where my disks are spin down if not in use.
      I am using Samba and I have enabled the recycle bin.
      I would like to automatically remove the old files after 60 days.

      The cron task that checks the recycle bin folders and removes the old files runs daily and this wake up my disks every day un-neccessarily.

      Looking into "/var/lib/openmediavault/cron.d/samba-recycle*" files and into "/etc/cron.daily/openmediavault-samba-recycle" it says to not change the files.

      Is there a way to move the recycle bin cron task in the weekly or monthly cron schedule?
      How can I do that ?

      (I know that this will mean that I will not delete the old files exactly 60 days after the deletion ,but I am ok with that)
    • Users Online 1

      1 Guest