I think Shell Script would be a better option....make a script and put on the startup......but you can also make a C daemon for this purpose....
On Sat, Mar 16, 2013 at 12:30 AM, <[email protected]>wrote: > Send Ilugd mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://frodo.hserus.net/mailman/listinfo/ilugd > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Ilugd digest..." > > > Today's Topics: > > 1. ILUG-D Activity Report: Mar-08-2013 to Mar-15-2013 > ([email protected]) > 2. Help required to setup a cron job (Satish Kr Malanch) > 3. Re: Help required to setup a cron job (Abhinav Gupta) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 15 Mar 2013 08:10:02 +0530 > From: [email protected] > To: [email protected] > Subject: [ilugd] ILUG-D Activity Report: Mar-08-2013 to Mar-15-2013 > Message-ID: <[email protected]> > Content-Type: text/plain; charset="us-ascii" > > Fri 15-Mar-2013: ILUG-D Activity Report: Mar-08-2013 to Mar-15-2013: > =================================================================== > > New/recent events: 0 Total events: 83 > ============================================================= > New Discussion forum postings: 0 Total topics: 657 Total posts: 1142 > ============================================================= > New News items: 0 Total News items: 383 > ============================================================= > New comments: 0 Total comments: 261 > ============================================================= > New pictures: 0 Total pictures: 231 > ============================================================= > New members: 0 Total members: 7057 > ============================================================= > > Send your suggestions, comments or feedback to admin_at_linux-delhi_dot_org > > > -------------------------------------------------- > This email is brought to you by http://www.linux-delhi.org/ - India Linux > Users Group - Delhi. > > > ------------------------------ > > Message: 2 > Date: Fri, 15 Mar 2013 11:27:44 +0530 > From: Satish Kr Malanch <[email protected]> > To: linux delhi <[email protected]> > Subject: [ilugd] Help required to setup a cron job > Message-ID: > <CAH2eR3VtuqcR6737iM712j6N=Lo= > [email protected]> > Content-Type: text/plain; charset=ISO-8859-1 > > 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 it and re run. > > Thanks s > > -- > With Best Regards: > *Satish Kr Malanch* > ---------------------------------------------------- > "The only real voyage of discovery consists not in seeking new landscapes > but in having new eyes. " > > ---------------------------------------------------------------------------------------------------------------------------------- > Visit my Blog by clicking here <http://sd-malanch.blogspot.in/> > > > ------------------------------ > > Message: 3 > Date: Fri, 15 Mar 2013 12:33:46 +0530 > From: Abhinav Gupta <[email protected]> > To: Satish Kr Malanch <[email protected]> > Cc: linux delhi <[email protected]> > Subject: Re: [ilugd] Help required to setup a cron job > Message-ID: <[email protected]> > Content-Type: text/plain; charset=us-ascii > > 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 whether > fetchmail > > is running or not if running then abort it and re run. > > > > Try daemontools. - http://cr.yp.to/daemontools.html > > - Abhinav > > > > ------------------------------ > > _______________________________________________ > Ilugd mailing list > [email protected] > http://frodo.hserus.net/mailman/listinfo/ilugd > > > End of Ilugd Digest, Vol 40, Issue 8 > ************************************ > _______________________________________________ Ilugd mailing list [email protected] http://frodo.hserus.net/mailman/listinfo/ilugd
