perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Badai Aqrandista" <badaiaqrandi...@hotmail.com>
Subject Re: Crontab entry from perl
Date Mon, 05 Sep 2005 16:12:55 GMT
>>I want to schedule a perl script in crontab using a CGI script. If i try 
>>to
>>append in the file ie /var/spool/cron/username then apache user does not
>>have rights to modify this. If i give root rights to apache then it could
>>be very harmful . how can i make entry into cron from script.
>You could have the CGI write out a file in /tmp or other and then have a 
>permenant root run cron or trivial dameon poll this file and add to a users 
>crontab based on the contents.
>
>I don't see what this has to do with modperl though :)

or roll your own cron:

http://search.cpan.org/~roland/Schedule-Cron-0.9/Cron.pm


---
Badai Aqrandista
Cheepy (?)

_________________________________________________________________
SEEK: Over 80,000 jobs across all industries at Australia's #1 job site.    
http://ninemsn.seek.com.au?hotmail


Mime
View raw message