Synology Task Scheduler problem
Posted: 16 Oct 2014, 13:24
I have Synology 214play NAS device. I created a script containing amc script. Just two lines.
#!/bin/sh
filebot -script fn:amc --log-file amc.log --action move --conflict skip -non-strict -r --def "movieFormat=/volume1/video/movies/{n.upperInitial().space('.')}.({y})/{n.upperInitial().space('.')}.{y}" music=n subtitles=tr artwork=y "ut_dir=/volume1/video/downloads" "ut_kind=single" "ut_state=5" "ut_file=" "ut_label="
If I run this script in terminal it works. But if I put this script in Task Scheduler of NAS it doesn't work and I could not find a log that explains the reason. I thought it was because of the " character so I tried to run another script;
#!/bin/sh
filebot -list --db thetvdb --q Dexter --log-file amc.log
Same problem. Works in the terminal and doesn't work if I run it from Task Scheduler.
Can anyone help?
#!/bin/sh
filebot -script fn:amc --log-file amc.log --action move --conflict skip -non-strict -r --def "movieFormat=/volume1/video/movies/{n.upperInitial().space('.')}.({y})/{n.upperInitial().space('.')}.{y}" music=n subtitles=tr artwork=y "ut_dir=/volume1/video/downloads" "ut_kind=single" "ut_state=5" "ut_file=" "ut_label="
If I run this script in terminal it works. But if I put this script in Task Scheduler of NAS it doesn't work and I could not find a log that explains the reason. I thought it was because of the " character so I tried to run another script;
#!/bin/sh
filebot -list --db thetvdb --q Dexter --log-file amc.log
Same problem. Works in the terminal and doesn't work if I run it from Task Scheduler.
Can anyone help?