Skip to main content
Question

Scheduled task to run Workspace in FME Desktop


simonhume
Participant
Forum|alt.badge.img+1

Hi

I'm trying to set-up a Scheduled task to run a workspace whilst i'm on leave

The Scheduled Task has been set up to look at a .bat file, copy of which is attached to this post

 

when i run the .bat file using the cmd prompt, i get the following error message;

 

File \\\\gis\\GIS\\ITDATA\\FME\\Batch runs\\Standard Runs\\StatMap_QGIS_Addr_Cross_Refs.fmw--SourceDataset_CSV2 could not be opened

Program Terminating

 

Could it be failing because there are 3 seperate csv files running in the Workspace?

I've copied SourceDataset_CSV2 to a local drive, as well as changing the file paths back to the mapped drive locations, but am still getting the error message

Has anyone got any advice or workarounf they can provide?

thanks

 

Simon Hume

 

 

 

 

2 replies

caracadrian
Contributor
Forum|alt.badge.img+23
  • Contributor
  • May 24, 2021

Get rid of the wildcard characters (*) in SourceDataset_CSV2 filename.


simonhume
Participant
Forum|alt.badge.img+1
  • Author
  • Participant
  • May 24, 2021

@caracadrian​ 

thanks for your reply

I've tried that and it's still failing

There are 3 csv files in the folder, so i've had to use a wildcard so it uses a specific file (which has a date in the filename, so changes daily)

I've also copied the specific file to a local drive and renamed it to the actual filename, but still get the error message

 


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