Question

Problem with Scheduled Task not running

  • 19 July 2021
  • 1 reply
  • 13 views

Badge +9

All

I have set up a scheduled task to be run via the windows task scheduler and NOT on FME Server. If I run the work bench everything is fine, as it is when i run the workbench via the .bat file.

 

However, when I try to get Task Scheduler to run the .bat file it says it has completed, however checks show it has not.

 

When looking at the log file i see these lines

2021-07-19 13:28:29|   0.3|  0.0|INFORM|Opening the Esri Geodatabase reader
2021-07-19 13:28:32|   1.3|  1.0|INFORM|The ArcObjects license 'Advanced' is being selected from the ESRILicenseInfo ArcObjects call
2021-07-19 13:28:32|   1.3|  0.0|INFORM|The Esri Product license used by this machine does not include licenses for the 'Advanced' licensing level
2021-07-19 13:28:32|   1.3|  0.0|ERROR |Unable to perform any licensing related tasks. Please check your Esri ArcGIS Compatibility setting. This 64-bit version of FME requires 64-bit Background Geoprocessing, ArcGIS Pro or ArcGIS Server. Refer to this this article http://fme.ly/qua for more details
2021-07-19 13:28:32|   1.3|  0.0|ERROR |A fatal error has occurred. Check the logfile above for details

I am using FME Desktop 64bit ESRI Edition, and ARCGis Pro 2.8 Advanced Licensing, so dont think there should be an issue there. Any ideas what is wrong and why these workbenches will not run??

 

Thanks


1 reply

Userlevel 4
Badge +25

Could it be that the Task Scheduler runs the .bat file as a different user, which doesn't have access to the proper license?

Reply