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 :)
--
END
------------------------------------------------------------
What doesn't kill us can only make us stronger.
Nothing is impossible.
Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198
Consultant / http://p6m7g8.net/Resume/
Senior Developer / Liquidity Services, Inc.
http://www.liquidityservicesinc.com
http://www.liquidation.com
http://www.uksurplus.com
http://www.govliquidation.com
http://www.gowholesale.com