AMC Works in SSH but not as Task Sheduler in Synlogy NAS
Posted: 13 Dec 2014, 02:48
Hi there,
First thanks for your awesome AMC-Script. Works like a charm.
Neverthless, when I try to start it by using a sheduled task I receive following error (by setting up output logging like described in
http://www.filebot.net/forums/viewtopic ... 802#p12015):
So it seems java cant be found. Where can I declare or extend the path variable in order that java can be found?
Did somebody run into the same issue or knows how to fix it?
The command which will be run is:
But as mentioned before, this works without problems in any ssh-client.
First thanks for your awesome AMC-Script. Works like a charm.
Neverthless, when I try to start it by using a sheduled task I receive following error (by setting up output logging like described in
http://www.filebot.net/forums/viewtopic ... 802#p12015):
Code: Select all
/usr/syno/bin/filebot: line 37: java: not found
/volume1/public/RenameMoviesEpisodesFilebotScript.sh: line 2:
: not found
Did somebody run into the same issue or knows how to fix it?
The command which will be run is:
Code: Select all
filebot -script fn:amc --lang de --output "/volume1/Freigabe/Series & Movies" --log-file amc.log --action copy -non-strict "/volume1/Freigabe/DL" --def excludeList=amc.txt "seriesFormat=Serien/{n}/{'Staffel '+s}/{n}.{s00e00} - {t}/{fn}" "movieFormat=Movies/{n} {y}/{fn}"