Skip to main content
Question

Will the same workspace run once every 5 minutes stop the previous?

  • October 25, 2019
  • 4 replies
  • 36 views

I want to run the same workspace every x minutes. Will the server queue it or stop the one before. Sometimes the running workspace will take more time than the time allotted and I want it to queue.

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.

4 replies

itay
Supporter
Forum|alt.badge.img+18
  • Supporter
  • 1442 replies
  • October 25, 2019

FME Server will never stop a job, but set it in the queue.


sigtill
Supporter
Forum|alt.badge.img+25
  • Supporter
  • 956 replies
  • October 25, 2019

FME Server will never stop a job, but set it in the queue.

You can actually stop a Scheduled task - if you look under Advanced you see the Queued Job Expiry time and Running job expiry time. So you can actually stop a job that has been waiting for lets say 5 minutes. And you can auto-abort a job after 3 minutes running. This is from FME2019 (or perhaps 2018?)


itay
Supporter
Forum|alt.badge.img+18
  • Supporter
  • 1442 replies
  • October 25, 2019

You can actually stop a Scheduled task - if you look under Advanced you see the Queued Job Expiry time and Running job expiry time. So you can actually stop a job that has been waiting for lets say 5 minutes. And you can auto-abort a job after 3 minutes running. This is from FME2019 (or perhaps 2018?)

Yes that is correct and these settings exist much longer. Most users don't even know they exist and they are rarely used.


siennaatsafe
Safer
Forum|alt.badge.img+12
  • Safer
  • 214 replies
  • October 28, 2019

FME Server will never stop a job, but set it in the queue.

As a side note to this, if you didn't want the next workspace to queue, you could use the Skip Job Submission setting in 2019.1

 

 

Skip Job Submission: If checked, and Schedule Type is Repeat on Interval or CRON Expression, the next scheduled task is not triggered if the status of the previously triggered job is still Running or Queued.

 

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