I am trying to configure to run a FME workbench as in Schedule task.
The batch file itself run fine. But something is happening when its run from Task Schedule. It seem to start a workbech, but it is not executing the workbench. This is the stout output i manage to log.
FME 2022.2.5.0 (20230329 - Build 22795 - WIN64)
FME Database Edition (floating)
Permanent License.
Machine host name is: xxxxxx
Operating System: Microsoft Windows Server 2022 64-bit (Build 20348)
Copyright (c) 1994 - 2022, Safe Software Inc.
Safe Software Inc.
When i run the batch file through cmd it start logging "reading" etc after the first I assume is a license check initial License check.
I have tried to multiple things already
- Set the "Start in" option to be the directory where the bat file (and workbenches) are located
- absolute path
- set the first line of batch file to cd into the directory of the workbench
- I am running the batch file using the system admin account
I am running out of ideas of what it can be wrong?