Save your plan credits/minutes with the stopthatjob orb

I’ve created an orb that will automatically cancel a job if it runs longer than a specified duration. You can find it here in the registry or see the source on GitHub.

Would love some feedback from anyone on the performance or MacOS plans. The goal here is to save credits/minutes by preventing jobs from running longer than what is typical.

1 Like

Can you go into more detail on how this Orb works? I see it will run the background job until the timeout, but can you explain how that will cause the job to end when it exits?

It hits the cancel job API endpoint to stop the job when the duration limit is reached.

1 Like