-1

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
  • 1
    windows has a task scheduler, use that Commented Jun 13, 2015 at 4:32
  • Does this thread help you stackoverflow.com/questions/24035090/… Commented Jun 13, 2015 at 4:35
  • More info, what server are you using? Nginx, Apache, IIS, Vanish? Commented Jun 13, 2015 at 4:38
  • sir , i am using an apache server Commented Jun 13, 2015 at 5:05

1 Answer 1

0

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
Sign up to request clarification or add additional context in comments.

1 Comment

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/…

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.