Skip to main content
Solved

Window task scheduler

  • September 22, 2020
  • 2 replies
  • 62 views

I am using FME Desktop. For my data source I am using MSSQL_JDBC_NONSPATIAL_2. I am reading the data from the data source and copying it into the Socrata platform using the Socrata writer. I copied the first four lines of command line code, pasted into notepad and saved it in the same location as the FME file. When I run window task scheduler. In command prompt, it reads.

 

Reading...

Emptying factory pipline...

Translation was Successful

 

Then get the following message directly below it.

C:\\drive........etc.

''--SourceDataset_MSSQL_JDBC_NONSPATIAL_2' is not recognized as an internal or external command, operable program or batch file.

C:\\drive.....etc.

'--DestDataset_SAFE.SOCRATA.SOCRATA2' is not recognized as an internal or external command, operable program or batch file.

 

I cannot tell, if that is an error message and the task scheduler failed or if that is normal? Thoughts

Best answer by david_r

Try putting all four lines on the same line, separated by spaces.

Example:

c:\...\fme.exe
--option1 ...
--option2 ...

becomes

c:\...\fme.exe --option1 ... --option2 ...

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

david_r
Celebrity
  • Best Answer
  • September 22, 2020

Try putting all four lines on the same line, separated by spaces.

Example:

c:\...\fme.exe
--option1 ...
--option2 ...

becomes

c:\...\fme.exe --option1 ... --option2 ...

 


  • Author
  • September 22, 2020

That worked. Thank you