java not found on Synology Scheduled Task
Posted: 02 Dec 2015, 07:56
Hi
I have a Synology DS1813+ with Filebot 4.6.1 and MediaInfo 0.7.73-32 (installed through Package Center),
I launch this script in CLI as root
filebot -script fn:suball /volume2/Media --lang en -non-strict&
it works
but when I launch it as a scheduled task I got this error in the log
as admin
/usr/local/bin/filebot: cd: line 21: can't cd to /root
/usr/local/bin/filebot: line 53: java: not found
as root
/usr/local/bin/filebot: line 53: java: not found
What did I forget thanks
I have a Synology DS1813+ with Filebot 4.6.1 and MediaInfo 0.7.73-32 (installed through Package Center),
I launch this script in CLI as root
filebot -script fn:suball /volume2/Media --lang en -non-strict&
it works
but when I launch it as a scheduled task I got this error in the log
as admin
/usr/local/bin/filebot: cd: line 21: can't cd to /root
/usr/local/bin/filebot: line 53: java: not found
as root
/usr/local/bin/filebot: line 53: java: not found
What did I forget thanks