Sheduled task for Php-MySql script
am 26.04.2006 00:21:28 von Nur_Adman
------_=_NextPart_001_01C668B6.98C14285
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi all,
=20
I have some php scripts that i have to run automatically at 5.00am (on =
Windows platform). I am using MySql.=20
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.=20
=20
Can anyone help me please?
------_=_NextPart_001_01C668B6.98C14285--
Re: Sheduled task for Php-MySql script
am 26.04.2006 03:48:41 von Chris Smith
> I have some php scripts that i have to run automatically at 5.00am (on Wi=
ndows platform). I am using MySql.
> I've tried using Scheduled Task and Cron, and i converted the extension f=
iles to .bat format. But always error on functions "mysql_connect","mysql_q=
uery",and other DBS functions. I don't know how to Scheduled Task or Cron r=
ecognize 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/
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Sheduled task for Php-MySql script
am 28.04.2006 15:12:35 von John Ellingsworth
Nur_Adman@fmi.com wrote:
> Hi all,
>
> 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.
>
> Can anyone help me please?
>
Have you confirmed the that you can run the script from the command line?
Try reviewing this and see if your issues are relevant; we can go from
there:
http://us3.php.net/features.commandline
--
Regards,
John Ellingsworth
http://john.ellingsworth.org
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php