Here is my sysinfo:
Here is my crontab set up. It runs 12 min. after every hour.FileBot 4.7.9 (r4986)
JNA Native: 5.1.0
MediaInfo: 0.7.82
7-Zip-JBinding: 9.20
Chromaprint: 1.2.0
Extended Attributes: OK
Unicode Filesystem: OK
GVFS: PlatformGVFS [/run/user/1000/gvfs]
Script Bundle: 2017-05-15 (r500)
Groovy: 2.4.10
JRE: OpenJDK Runtime Environment 1.8.0_121
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 4 Core / 1 GB Max Memory / 44 MB Used Memory
OS: Linux (amd64)
Package: SNAP
uname: Linux GatorServer 4.4.0-93-generic #116-Ubuntu SMP Fri Aug 11 21:17:51 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
I checked the crontab logs and verified that crontab is calling my Filebot script.## Run Filebot on the Sync folder every hour at 12 min. mark
12 * * * * /home/usr/bin/Filebot_Sync.sh
Here is my script:Sep 14 09:12:01 XXServer CRON[26380]: (usr) CMD (/home/usr/bin/Filebot_Sync.sh)
Sep 14 09:12:01 XXServer CRON[26379]: (CRON) info (No MTA installed, discarding output)
Sep 14 09:17:01 XXServer CRON[26433]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Sep 14 10:12:01 XXServer CRON[26956]: (usr) CMD (/home/usr/bin/Filebot_Sync.sh)
Sep 14 10:12:01 XXServer CRON[26955]: (CRON) info (No MTA installed, discarding output)
Sep 14 10:17:01 XXServer CRON[27001]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Code: Select all
#!/bin/sh
echo Start renaming and moving TV Shows and Movies
filebot -script fn:amc --output "/media/EXTRAS/Filebot_Sync" --action move --conflict auto -non-strict "/media/EXTRAS/Local_Sync/TV Shows" -non-strict "/media/EXTRAS/Local_Sync/Movies" --log-file /media/EXTRAS/Filebot_Sync/amc_sync.log --def unsorted=y music=y artwork=y excludeList=".sync_excludes" --def @/media/EXTRAS/Filebot_Sync/args.txt
echo Filebot complete with TV Shows and Movies
echo Start renaming and moving Cartoons
filebot -script fn:amc --output "/media/EXTRAS/Filebot_Sync" --action move --conflict auto -non-strict "/media/EXTRAS/Local_Sync/Cartoons" --log-file /media/EXTRAS/Filebot_Sync/amc_sync.log --def unsorted=y music=y artwork=y excludeList=".sync_excludes" --def @/media/EXTRAS/Filebot_Sync/CartoonFormat.txt
Now, if I run the same script from the terminal (from any directory), it runs perfectly fine.
Do you (or anyone else) have any suggestions as to why the Filebot script is not running?
thanks in advance for your help.