Re: [ilugd] Help required to setup a cron job

2013-03-16 Thread Aman Thakur
: Fri, 15 Mar 2013 11:27:44 +0530 From: Satish Kr Malanch satishmala...@gmail.com To: linux delhi ilugd@lists.linux-delhi.org Subject: [ilugd] Help required to setup a cron job Message-ID: CAH2eR3VtuqcR6737iM712j6N=Lo= g096-hjf2yawrpjarjq...@mail.gmail.com Content-Type: text/plain

Re: [ilugd] Help required to setup a cron job

2013-03-16 Thread Anoop Sharma
Check it out: http://mywiki.wooledge.org/BashFAQ/045 Summary: Use flock. man -s 1 flock provides examples on usage that may suit you. On Fri, Mar 15, 2013 at 11:27 AM, Satish Kr Malanch satishmala...@gmail.com wrote: Hello all, Can anyone plz help me create a scrropt to run a cron job ,

Re: [ilugd] Help required to setup a cron job

2013-03-15 Thread Abhinav Gupta
On 03/15/13 11:27:44 AM, Satish Kr Malanch wrote: Hello all, Can anyone plz help me create a scrropt to run a cron job , I have schedule fetmail in every 5 minutes. but some time my cron get stucked due to another running instance I want a script that execute in every 3 minutes and check

[ilugd] Help required to setup a cron job

2013-03-14 Thread Satish Kr Malanch
Hello all, Can anyone plz help me create a scrropt to run a cron job , I have schedule fetmail in every 5 minutes. but some time my cron get stucked due to another running instance I want a script that execute in every 3 minutes and check whether fetchmail is running or not if running then abort