Task commands after job
Posted: Mon Nov 14, 2022 6:11 pm
Hi
I chained some tasks, and the last one executes "/sbin/shutdown -h now". In DSM 6 this workd as expected, but things has changed on DSM 7. First I fixed the error "Command "shutdown -h now" not listed in file to allow external commands: /volume1/@appstore/Syncovery/usr/bin/authorized_cmdlines_syncovery", Iv'e added the command to this file (with root privileges). Now I get "Executed /sbin/shutdown -h now, Exit Code=1". Code 1 means file not exist? Ehm, shutdown is there, so I'm out with my linux skills.
Anyone who knows what I've done worong, or another solution to shut down the DiskStation after the last Task is done in Syncovery?
I chained some tasks, and the last one executes "/sbin/shutdown -h now". In DSM 6 this workd as expected, but things has changed on DSM 7. First I fixed the error "Command "shutdown -h now" not listed in file to allow external commands: /volume1/@appstore/Syncovery/usr/bin/authorized_cmdlines_syncovery", Iv'e added the command to this file (with root privileges). Now I get "Executed /sbin/shutdown -h now, Exit Code=1". Code 1 means file not exist? Ehm, shutdown is there, so I'm out with my linux skills.
Anyone who knows what I've done worong, or another solution to shut down the DiskStation after the last Task is done in Syncovery?