Article View: news.software.nntp
Article #44085Re: My cronjobs run 60 times an hour, HELP!
From: Ron Muzzi
Date: Mon, 14 Feb 2000 00:00
Date: Mon, 14 Feb 2000 00:00
32 lines
1669 bytes
1669 bytes
Bruce, If you haven't figured this out by now, you are telling cron to run every sixty seconds during hour 2 and hours 3 and 15. You need to simply add the minutes to your table, e.g. 0 2 * * * egrep 'massive regexp' 30 3,15 * * * /usr/local/news/bin/somprogram Ron, Michigan, USA "Bruce D. Meyer" wrote: > > I have two cronjobs, which when they run, seem to run every sixty seconds. > The run as user news (it's a news server) and the time info is: > crontab -e > * 2 * * * egrep 'massive regexp' > * 3,15 * * * /usr/local/news/bin/somprogram > > I suspect I am creating a Denial of service attack on my self as I do see > 'for unavailable out of resources' (or something like that) messages > sometimes. > > And these two puppies both email me their results, and I get 60 emails > minimum for each one, each time they run, and they seem to run every minute > during the hour that they are called. > > Any clues are appreciated.
Technical Details
Message-ID:
<38A8452B.5EF3A63E@post.publicly>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<87v1ns$p69$1@news.rocsoft.net>Show Full Headers
Complete Article Headers
Message-ID: <38A8452B.5EF3A63E@post.publicly> Subject: Re: My cronjobs run 60 times an hour, HELP! Date: Mon, 14 Feb 2000 00:00:00 +0000 From: Ron Muzzi <please@post.publicly> References: <87v1ns$p69$1@news.rocsoft.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 585829524 Content-Transfer-Encoding: 7bit X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Self Mime-Version: 1.0 Newsgroups: comp.os.linux.misc,news.software.nntp