Home > Archive > PHP DB > April 2006 > Sheduled task for Php-MySql script
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Sheduled task for Php-MySql script
|
|
| Nur_Adman@fmi.com 2006-04-25, 6:59 pm |
| 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?
| |
| John Ellingsworth 2006-04-28, 7:58 am |
| 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
| |
| John Ellingsworth 2006-04-28, 7:58 am |
| 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
________________________________________
______________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
________________________________________
______________________________
|
|
|
|
|