How to stop a Linux job after a certain time

This article explains - controlling the duration of scheduled jobs (at and cron jobs) under Linux using nice shell script tricks:
Say you need to debug a pesky problem by running some traces for 30 minutes at midnight, or you would just like to use your Linux system as an alarm clock. This tip helps you stop jobs, such as those started with the cron and at capabilities, after the jobs have run for a certain time, or when some other criteria are met.
Linux tip: Controlling the duration of scheduled jobs
E-mail this to a friend
Printable version
You may also be interested in other helpful articles:
- FreeBSD : Job management
- An interesting introduction to cron jobs
- Solaris : Controlling tape device/drive using mt command
- List of open source cluster management systems
- Find and Control All Hidden Running Services on MS Windows Server 2003 / Vista / XP System
Discussion on This Article:
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!
Tags: at, cron, cron_jobs, Linux, shell script


How to stop a Linux job after a certain time