Re: run cron every four weeks?
From: Barry Margolin (barry.margolin_at_level3.com)
Date: 08/12/03
- Next message: Chris F.A. Johnson: "Re: run cron every four weeks?"
- Previous message: Alan Connor: "Re: run cron every four weeks?"
- In reply to: Alan Connor: "Re: run cron every four weeks?"
- Next in thread: Chris F.A. Johnson: "Re: run cron every four weeks?"
- Reply: Chris F.A. Johnson: "Re: run cron every four weeks?"
- Reply: Alan Connor: "Re: run cron every four weeks?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 11 Aug 2003 23:09:41 GMT
In article <KTUZa.2397$7z1.1660@newsread3.news.pas.earthlink.net>,
Alan Connor <alanconnor@earthlink.net> wrote:
>I repeat: Using perl in a situation like this would consume far more
>resources than a bash script, and is therefore not wise.
You're suffering from premature optimization.
Like he said, if it's only executing once a week, the difference in
resources is most likely negligible. When the performance impact isn't a
real problem, optimizing for ease of maintenance is often more wise.
BTW, have you actually done a comparison between the resource consumption
of the shell and perl? Some years ago I rewrote a program from C to Perl,
and with a little tweaking I was able to make the Perl version as fast as
the C version.
-- Barry Margolin, barry.margolin@level3.com Level(3), Woburn, MA *** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups. Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
- Next message: Chris F.A. Johnson: "Re: run cron every four weeks?"
- Previous message: Alan Connor: "Re: run cron every four weeks?"
- In reply to: Alan Connor: "Re: run cron every four weeks?"
- Next in thread: Chris F.A. Johnson: "Re: run cron every four weeks?"
- Reply: Chris F.A. Johnson: "Re: run cron every four weeks?"
- Reply: Alan Connor: "Re: run cron every four weeks?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|