NAS 326 Cron Job, Script?

Options
Hans4711
Hans4711 Posts: 2
First Comment
image  Freshman Member

Hallo,

kann man bei der NAS326 ein Script erstellen und ausführen, welches automatisch Dateien älter als X Tage löscht?

Ich nutze die NAS als FTP Freigabe einer Überwachungsanlage und dort kommen in kurzer Zeit sehr viele Bilder zustande.

Derzeit lösche ich sie händisch über WinSCP und es wäre sehr hilfreich, wenn die NAS dies selbstständig via Script oder Cron Job erledigen könnte.

lg

Hans

Accepted Solution

  • Mijzelf
    Mijzelf Posts: 3,076
    250 Answers 2500 Comments Friend Collector Ninth Anniversary
    image  Guru Member
    Answer ✓
    Options

    The package Tweaks has an option to add your own entries to the firmware cron. You can install Tweaks by first installing MetaRepository.

    The edit function in Tweaks for crontab is not bullet-proof, so you'd better not put complex commands here. But the name of a script should be fine.

All Replies

  • Mijzelf
    Mijzelf Posts: 3,076
    250 Answers 2500 Comments Friend Collector Ninth Anniversary
    image  Guru Member
    Answer ✓
    Options

    The package Tweaks has an option to add your own entries to the firmware cron. You can install Tweaks by first installing MetaRepository.

    The edit function in Tweaks for crontab is not bullet-proof, so you'd better not put complex commands here. But the name of a script should be fine.

  • Hans4711
    Hans4711 Posts: 2
    First Comment
    image  Freshman Member
    Options

    super, vielen Dank für die Info!!

    Jetzt funktioniert es perfekt und die NAS löscht die Bilder selbstständig nach den eingegebenen Intervallen!!

    lg

    Hans

Consumer Product Help Center