Filebot not running through task scheduler with amc script

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
Luke
Posts: 18
Joined: 24 Feb 2014, 09:36

Filebot not running through task scheduler with amc script

Post by Luke »

Code: Select all

Information 5/03/2019 2:59:31 PM 102 Task completed (2) b0ee6bd7-f0f7-410f-9c47-40d4cd2b3fa0 Information 5/03/2019 2:59:31 PM 201 Action completed (2) b0ee6bd7-f0f7-410f-9c47-40d4cd2b3fa0 Information 5/03/2019 2:59:27 PM 200 Action started (1) b0ee6bd7-f0f7-410f-9c47-40d4cd2b3fa0 Information 5/03/2019 2:59:27 PM 100 Task Started (1) b0ee6bd7-f0f7-410f-9c47-40d4cd2b3fa0 Information 5/03/2019 2:59:27 PM 129 Created Task Process Info
Information 5/03/2019 2:59:27 PM 107 Task triggered on scheduler Info b0ee6bd7-f0f7-410f-9c47-40d4cd2b3fa0
But it doesn't actually do the job, batch file run perfectly manually just trying to figure out why it is not running actually running through task scheduler.

My Scheduler setup

General:

Security options: SYSTEM
Run with the highest privileges
Configure for: Windows 10
Action:

Program/Script:
"E:\path to script\batch file.bat"
Start in:E:\path to script
Conditions:

Power:
Wake the computer to run the task
Network: any connection
Any help would greatly be appreciated.

I have also referenced this (Run a batch file with Windows task scheduler) and tried the various option there, but none seem to work for me. also referenced this: Run a batch file with Windows task scheduler

This is my batch script:

Code: Select all

filebot -script fn:amc --output "E:\Media" --log-file amc.log --action move --conflict override -non-strict --def --def excludeList=amc.txt clean=y --def music=n artwork=y "ut_label=Uncategorised" "ut_state=%S" "ut_title=F:\Incomplete Torrents\Complete" --def "ut_kind=multi"--def "ut_file=" "ut_dir=F:\Incomplete Torrents\Complete"
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot not running through task scheduler with amc script

Post by rednoah »

The first step is to make sure that your script is actually called.


Step 1: check if script is called by using a simple command that can't fail and redirecting output to a file:

Code: Select all

echo "Hello World" > E:\HelloWorld.txt

Step 2: check if filebot works, and make sure to capture all standard output and error output, so we can see why:

Code: Select all

filebot -version > E:\filebot-version.txt 2>&1

Step 3: run filebot with all your options, and make sure to capture all standard output and error output, and then check the standard output and error output to see what's going on.


:idea: https://www.robvanderwoude.com/battech_redirection.php
:idea: Please read the FAQ and How to Request Help.
Post Reply