Skip to main content
Archived

FME Server GUI - Option to allow/disallow concurrent run of workspace

Related products:FME Flow
  • January 11, 2017
  • 4 replies
  • 15 views

I have a job scheduled to run every x minutes. If the engines get backed up, it could get queued multiple times and start running concurrently when engines are free. I want to avoid this. I am currently accomplishing this by querying the FME Server REST API and using a StringSearcher to see if a job of the same name is already running. If it is, I use a terminator to stop the job.

It seems like a GUI option on FME Server would be more elegant. Maybe a checkbox that allows/disallows concurrent runs?

4 replies

rylanatsafe
Safer
Forum|alt.badge.img+14
  • Safer
  • January 12, 2017

Hi @jerrodstutzman - This is a great idea! Have you tried using the 'Queued Job Expiry Time' for Schedules in FME Server? You could set this to the same amount of time (in seconds) that the schedule waits to execute again.

https://docs.safe.com/fme/html/FME_Server_Documentation/Content/WebUI/Adding_a_Scheduled_Task.htm

 

 

Hope this helps!

Yes! The Queued Job Timeout was a great addition to the Scheduler and we do use it. However, we also have cases where a job is submitted via URL or manually run, so it wouldn't work for those. We are starting to use FME Server for web services and external requestors can get a little click-happy on the URL, submitting a job multiple times :-)

rylanatsafe
Safer
Forum|alt.badge.img+14
  • Safer
  • March 19, 2019

Related:

https://knowledge.safe.com/content/idea/65826/option-that-workspace-can-only-be-started-if-it-is.html

 

https://knowledge.safe.com/content/idea/54199/allow-to-define-maximum-instances-that-can-run-sim.html

LizAtSafe
Safer
Forum|alt.badge.img+18
  • Safer
  • April 5, 2025
OpenArchived