With my NAS Synology, i use this script in a sceduled task. With OMV is not possible to use directly this code as a Synology Nas.
I have to create a script sh and launch it by a scheduled tasks. But I can't do it so i need you.
Thanks for your help.