Skip to main content
Solved

Window task scheduler

  • September 22, 2020
  • 2 replies
  • 44 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 ...

 

View original
Did this help you find an answer to your question?

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings