Re: Sheduled task for Php-MySql script
| From: | chris smith | Date: | Wed, 26 Apr 2006 01:48:41 +0000 |
| Subject: | Re: Sheduled task for Php-MySql script | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-41748@lists.php.net to get a copy of this message | ||
> I have some php scripts that i have to run automatically at 5.00am (on Windows platform). I am
> using MySql.
> I've tried using Scheduled Task and Cron, and i converted the extension files to .bat
> format. But always error on functions "mysql_connect","mysql_query",and other
> DBS functions. I don't know how to Scheduled Task or Cron recognize those functions.
It has nothing to do with it running through cron. Sounds like php
doesn't support mysql functions. Check a phpinfo page.
--
Postgresql & php tutorials
http://www.designmagick.com/