I'm desperately trying to build a very basic scheduled triggered task under DSM 6.1, unfortunately it works only if run as root user.
More precisely, I've created a user-defined script triggered task setup with boot-up event, mail notification and the following very simple script:
Code: Select all
#!/bin/sh echo "Hello"
Task: Test Task
Start time: Wed, 16 May 2018 00:44:00 GMT
Stop time: Wed, 16 May 2018 00:44:01 GMT
Current status: 0 (Normal)
but if I change to a different user (even with some users of administrators group) I receive a failure email with the following content:
Any ideas?Task: Test Task
Start time: Wed, 16 May 2018 00:48:29 GMT
Stop time: Wed, 16 May 2018 00:48:30 GMT
Current status: 1 (Interrupted)