Does not seem to work when using Cron with the following

Support for Ubuntu and other Desktop Linux distributions
Post Reply
aaseef021
Posts: 53
Joined: 08 Nov 2017, 04:08

Does not seem to work when using Cron with the following

Post by aaseef021 »

Hi when I run the following using Crontab

/path/pathto .sh script which consist of the following

Code: Select all

filebot -script fn:amc --output "/data/Videos" --action copy --conflict override -non-strict --log-file amc.log --def clean=y artwork=y excludeList=amc.txt "/data/Torrents/Completed"
It does nothing.

if I run this manually it works fine. I know my cron is setup correctly as the extraction work if I do

Code: Select all

filebot -exraxt -r --input --ouput
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Does not seem to work when using Cron with the following

Post by rednoah »

:idea: Please read Shell Script Debugging for Beginners.


:arrow: I recommend using filebot -extract for batch extracting archives:

Code: Select all

filebot -extract -r /path/to/input --output /path/to/output

:!: :!: filebot -exraxt -r --input --ouput is wrong for multiple reasons, and if you run it, you well get immediate failures, because almost every single argument is either mistyped or doesn't exist:

Code: Select all

$ filebot -exraxt -r --input --ouput
"-exraxt" is not a valid option
$ filebot -extract -r --input --ouput
"--input" is not a valid option
$ filebot -extract -r /path/to/input --ouput
"--ouput" is not a valid option
$ filebot -extract -r /input --output
Option "--output" takes an operand
$ filebot -extract -r /path/to/input --output /path/to/output
...
:idea: Please read the FAQ and How to Request Help.
Post Reply