How to stop a Linux job after a certain time

by Vivek Gite on August 2, 2007 · 1 comment

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

Featured Articles:

Share this with other sys admins!
Facebook it - Tweet it - Print it -

We're here to help you make the most of sysadmin work. So, subscribe!

{ 1 comment… read it below or add one }

1 mohanraj January 3, 2008

How to stop a Linux job after a certain time

Reply

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title="">
What is 9 + 11 ?
Please leave these two fields as-is:
Are you a human being? Solve the simple math so we know that you are a human and not a bot.




Previous post:

Next post: