For testing purposes just running "filebot -script fn:amc" in SSH works fine, can see the java process running in process manager
Set a task to run in task scheduler and doesn't work. No java process is launching.
I have entred the full path to java in the filebot.sh file just to see if that makes a difference but it did not. This was working fine prior to updating to the latest version of Java 8 and Filebot 4.5.
Any suggestions?
Filebot works from SSH but not task scheduler Synology NAS
Re: Filebot works from SSH but not task scheduler Synology N
The notes on this page should help:
http://www.filebot.net/forums/viewtopic.php?f=3&t=1802
First step is to redirect output (including error output!!!) to see what's going on.
Most likely the error output will say "java: command not found", as explained here:
http://www.filebot.net/forums/viewtopic.php?f=3&t=1802
First step is to redirect output (including error output!!!) to see what's going on.
Most likely the error output will say "java: command not found", as explained here:
Running commands from the login shell is not the same as using Synology DSM Task Scheduler or cron because they'll not initialise with ~/.profile so PATH may be different.
Re: Filebot works from SSH but not task scheduler Synology N
thanks RN
Checked volume1 and the path doesn't seem to exist.
have attached image
Checked volume1 and the path doesn't seem to exist.
have attached image
Re: Filebot works from SSH but not task scheduler Synology N
The PATH is a variable, not a file:
http://en.wikipedia.org/wiki/PATH_(variable)
Also .profile / .bash_rc / etc are hidden files "." so you wouldn't see them anyway on this screenshot.
Besides:
http://en.wikipedia.org/wiki/PATH_(variable)
Also .profile / .bash_rc / etc are hidden files "." so you wouldn't see them anyway on this screenshot.
Besides:
So what's the output?First step is to redirect output (including error output!!!) to see what's going on.
Re: Filebot works from SSH but not task scheduler Synology N
I'm a linux dummy. Can you advise how to redirect output?
Re: Filebot works from SSH but not task scheduler Synology N
Look at the screenshot on the pages i linked for you:
http://www.filebot.net/forums/viewtopic ... 802#p12015
More help here:
http://www.filebot.net/forums/viewtopic.php?f=8&t=1558
http://www.filebot.net/forums/viewtopic ... 802#p12015
More help here:
http://www.filebot.net/forums/viewtopic.php?f=8&t=1558
Re: Filebot works from SSH but not task scheduler Synology N
yes output is as follows "/usr/syno/bin/filebot: line 36: java: not found"
you are right, but i have put the full path to java in the filbot.sh file. is there something else?
you are right, but i have put the full path to java in the filbot.sh file. is there something else?
Re: Filebot works from SSH but not task scheduler Synology N
nevermind!!!!
issue was i was pointing to the old version of filebot.sh not the new one that is installed in the appstore.
thanks RN!
issue was i was pointing to the old version of filebot.sh not the new one that is installed in the appstore.
thanks RN!