I have created an FME job and I want to run it from task scheduler. So I created the .BAT file (and .TCL file) by running the Run Batch Deploy process. Once the .BAT file is created I test it by double clicking it. The .BAT seems to start up fine (I check the log file and see it is running). So then I try and use task scheduler to run the same .bat and get an error from FME saying :
ERROR |Unable to perform any licensing related tasks. This 64-bit version of FME requires 64-bit Background Geoprocessing, ArcGIS Pro
ArcGIS Pro is installed and I am able to run the job fine if I manually click on the .BAT or if I run the FME job from the workbench.
The Task, within Task Scheduler, is set to run with a headless account (the same account I use to log into this machine). Within the task security properties I have set the job to Run whether user is logged on or not and the password is saved as a part of the task.
So, how do I get task scheduler to know that ArcGIS Pro is installed when the FME job is triggered?
I am using FME Desktop 2018.1 - 64 bit.
When I have done this in the past, I was working with 32 bit FME Desktop.
ArcGIS Pro was installed by a different account, but can be opened by this headless account.