httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: Proposal: a "cron" interface for httpd
Date Wed, 26 Mar 2008 20:17:27 GMT

On Mar 26, 2008, at 2:52 PM, Akins, Brian wrote:
> The way I do this is simple and primitive.  If I have an action I  
> need to be
> ran, I do something like:
>
> <Location /my-cron-job-thing>
>    SetHandler MyCronJobThing
>    Allow from 127.0.0.1
>    Deny from All
> </Location>
>
>
> And then in cron
>
> * * * * * curl http://localhost/my-cron-job-thing > /logs/ 
> cronjob.log 2>&1

I've done something similar with mutexed internal subrequests
that trigger a specific handler...

Mime
View raw message