Surely there is something obvious I am overlooking... but for now, I'm stumped...
When I do /scripts/pkgacct <account> from the command line (as root), it does the mysqldump part just fine:
Grabbing mysql privs...Done
But if I put an entry in my root crontab:
15 00 * * * /scripts/pkgacct <account>
I get this:
Grabbing mysql privs...mysqldump: not found
mysqldump: not found
Same command to run pkgacct, except the first one was done from the command line as root, and the second was done from cron as root.
The other parts of that script works flawlessly, as do all other cron entries. It's just this one system() call that doesn't work.
*sigh*



LinkBack URL
About LinkBacks
Reply With Quote




