On Wed, 14 Feb 2001, Perrin Harkins wrote:
> On Wed, 14 Feb 2001, Pierre Phaneuf wrote:
> > I guess two persons "simpler" aren't always the same: I find it easier
> > laying out a table and querying it than hacking something to fiddle with
> > my crontab safely.
>
> As far as I know, crontab -e is perfectly safe.
"crontab -l | foo" and "foo | crontab -" are your friends.
as for putting cron into Apache: I don't understand why that's wanted
in the first place. When connecting to the database outside the httpd
it doesn't matter if it goes a little slow. And having separate
programs to do the maintenance would easily be much simpler than
trying to drop everything into the httpd.
All this might of course be way off since it's not really clear to me
what the real goal is in the first place. (this thread has been kinda
like "I want to use facility Y", instead of
``I want to accomplish X.
I thought I might be able to use facility Y.
But Y doesn't seem like it's quite right, because of Z.
What should I use instead of Y, or how can I overcome Z?''[1]
:-)
So: What is the task at hand (more than "run something at certain
intervals" (which is what cron(8) is for)).
- ask
[1] http://perl.plover.com/Questions.html
--
ask bjoern hansen - <http://ask.netcetera.dk/>
more than 70M impressions per day, <http://valueclick.com>