kill job started in crontab

R

rkoziol7

Guest
Hi,

I have some job starting with crontab. It ends usually after a few minutes but sometimes hangs for a long time.

I would like to automatically kill such jobs after - let's say - 20 minutes. How to achieve this effect? I wish I could start such a process with some parameter defining the maximum time for the job to run. In other words - maximum job time limit... Is this possible?

Kind regards,
Rob
 
MALIBAL Linux Laptops

Linux Laptops Custom Built for You
MALIBAL is an innovative computer manufacturer that produces high-performance, custom laptops for Linux.

For more info, visit: https://www.malibal.com

Members online


Top