# [EMAIL PROTECTED] / 2006-10-23 16:34:16 +0100:
> > >>It appears that it could be because the user that runs the scripts is
> > >>not allowed to. When I run them on the commandline, I run them as the
> > >>root user.

    that's very simple to check (man su)

> > yes I know of CRONtabs but wont this still leave us with the user
> > permission of running mysqldump? because essentially it will still be a
> > PHP file to run the shell command to create the dump file?

    Are you concerned about what user it runs as or what language
    it's written in?

> No, cron will typically run as root. You don't need to involve PHP.
 
    How are those two things connected at all in the first place?

> It looks to me as if you are trying to use web scripting (PHP) to do the
> sysadmin on your server, for which other methods are more suitable.

    Those would be? What makes PHP unsuitable for non-web programming?

    "Don't write the SMTP server in C, that's only for text editors."

-- 
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man.  You don't KNOW.
Cause you weren't THERE.             http://bash.org/?255991

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

Reply via email to