httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: [users@httpd] Query regarding CGI/Crontab
Date Mon, 05 Sep 2005 16:45:56 GMT
On 9/5/05, Pankaj Kumar <> wrote:
> 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.

Google on "sudo".  But there is no perfectly-safe way to do this.  It
will involve risks.  You should see if you can at least limit it to
the cron of a non-priveleged account.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message