I am using FME Server 2020. Need to create a webhook but along with that need to set expiry time for the job. Is it possible ?
Hi @ahmarshoeb ,
You can use the tm_ttc directive to send a job to a certain queue when submitting it via a webhook URL.
The tm_ttc is the time (in seconds) elapsed for a running job before it's cancelled. The minimum value is 1 second, values less than 1 second are ignored.
Please see the Job Directives page of our documentation for more information on this.
Hi @ahmarshoeb ,
You can use the tm_ttc directive to send a job to a certain queue when submitting it via a webhook URL.
The tm_ttc is the time (in seconds) elapsed for a running job before it's cancelled. The minimum value is 1 second, values less than 1 second are ignored.
Please see the Job Directives page of our documentation for more information on this.
Thanks. Is there any way that we can calculate the time based on job submitted. Means, we need to abort the job after 10 minutes irrespective of the time it is in queue or running. Can we somehow use tm_ttl + tm_ttc =100, or something like that.
Thanks. Is there any way that we can calculate the time based on job submitted. Means, we need to abort the job after 10 minutes irrespective of the time it is in queue or running. Can we somehow use tm_ttl + tm_ttc =100, or something like that.
Hi @ahmarshoeb
You can apply both the ttl and ttc values to a webhook but unfortunately, there is no way to get a cumulative value between the two. That would be a great idea though if you wanted to create an idea for it on the Ideas page. https://community.safe.com/s/idea/Idea/00B4Q00000ABiEt