Quote:
Originally Posted by HairGuy
I've been running the above code on my production system for over a month and it works fine. I have it set up in 'cron' to also email me a message when it runs. You can do something like this in your crontab:
Code:
15 2 * * * /usr/bin/php -q $HOME/public_html/xcart/provider/froogle_update.php | mail -s 'Froogle Update' me@mydomain.com
Sorry, but I don't have time to explain the basics of crontab and PHP coding to newbies. However, if you want to pay my normal consulting fees, I'll be happy to set things up for you.
|
The froogle_update.php works GREAT from the browser. But, unfortunately when I try to initiate it from the command line, I get the following error:
Code:
Fatal error: Call to undefined function: mysql_connect() in /home/web/store/include/func.php on line 41
Any ideas?
Craig Elliott
FireCompanies.com