Hello All,
I want to execute a php script every day.
Could anyone please help how do I set a cron job in php and mysql.
I am using WAMP Server.
Please guide me.
Thanks,
Hello All,
I want to execute a php script every day.
Could anyone please help how do I set a cron job in php and mysql.
I am using WAMP Server.
Please guide me.
Thanks,
Windows uses scheduled tasks, which are functionally similar. A web search will yield instructions.
The command to execute would be similar to
C:\\path\ o\\php.exe C:\\path\ o\\my\\script.php
or
C:\\path\ o\\php-win.exe C:\\path\ o\\my\\script.php
Be sure to read, as the php CLI binary has some subtle differences since it does not run through the webserver.
http://www.php.net/features.commandline
Thansk sajan
I have tried the link…and that worked…