0

I have an application in PHP that helps people fix appointments.

How could I code to send SMS's 15 minutes before the start of the meeting time?

I have code that takes care of sending SMS's. I just need to call the send method at the appropriate time.

Naweed Chougle
  • 500
  • 10
  • 31

1 Answers1

2

Your best bet is making a script that sends an SMS to everyone who has a meeting in 15 minutes and set a cron job (or something similar if not on Unix) to run the script every 5 minutes or so.

JJJ
  • 32,902
  • 20
  • 89
  • 102
  • I'm using GoDaddy hosting with Windows. How do I run a cron job to do the tasks? – Naweed Chougle Nov 14 '10 at 13:20
  • http://stackoverflow.com/questions/850556/how-to-emulate-cron-jobs-on-a-windows-server suggests GoDaddy doesn't offer scheduling on their Windows servers but that thread lists some options. – JJJ Nov 14 '10 at 13:27