[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] How to install crontab form php-script



Hi,

I have a php script, witch creates
a text file and then executes the
system command "crontab", to install
the crontab from this text file.

It works, but php(apache-modul) runs as 
"httpd" and installs the crontab for "httpd".

I wan't to install individual crontabs
for other users. OK, I can do "crontab -u username",
but this works only as root.

How can I solve this problem?
Or, how can I allow "httpd" to run
"crontab -u username"?

Best regards,
Jens Peter Moeller