I am using PHP and MySQL running in windows7. I need to run a php script at the scheduled time daily to send sms for birthday wishes.
4
-
1windows has a task scheduler, use thatuser557846– user5578462015-06-13 04:32:05 +00:00Commented Jun 13, 2015 at 4:32
-
Does this thread help you stackoverflow.com/questions/24035090/…Ron Piggott– Ron Piggott2015-06-13 04:35:54 +00:00Commented Jun 13, 2015 at 4:35
-
More info, what server are you using? Nginx, Apache, IIS, Vanish?marblewraith– marblewraith2015-06-13 04:38:53 +00:00Commented Jun 13, 2015 at 4:38
-
sir , i am using an apache serverBinil Varghees– Binil Varghees2015-06-13 05:05:10 +00:00Commented Jun 13, 2015 at 5:05
Add a comment
|
1 Answer
You can put your command in Task Scheduler, and setup the DateTime Interval you need.
To Execute PHP Script, you need to mention php path and the file to be executed, for example:
D:/xampp/php/php.exe D:/xampp/htdocs/execute.php
1 Comment
Pilskalns
And I answered with my flexible solution this some long time ago. It is easy to customizable, add multiple urls, add multiple frequencies etc. stackoverflow.com/questions/14718865/…