Hi,

Sunday, January 26, 2003, 7:58:18 AM, you wrote:
N> Does anyone have a PHP script to enter cron jobs? I have a limited control
N> panel (ensim) that doesn't have anyway to do cron, and I don't know how to
N> do it at the command line yet. Anyone have a good tutorial or a PHP script
N> to do this?

N> Thanks!


If you want to change cron jobs for the web server that is easy just
exec('crontab '.$newcronlist)
That should replace the current cron jobs with the new ones.
If you want to manipulate other users that is a whole new can o worms that is
probably full of security issues. Then you would need a root cron job to parse
an external file owned by the web server that it queries for any updates that
are needed and does them for you.

-- 
regards,
Tom


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to