How to execute a program continuously on a server? And which language to use?
Okay this is my first post here so please forgive me if i mess something up.
I am trying to build a web program that will send email with content drawn from a db at a time specified in the db to a email address specified in the db. I am fluent in php & mysql and initially assumed i would base this program on those languages but i cant figure out how to use php to achieve my purpose. So i assume i will have to turn to another language, but i haven't the vaguest idea of which to turn to.
My other problem is that i don't know how to setup whatever script i end up making to run continuously.
Thanks for the suggestion Russ, to begin with it will be hosted locally either on my centos box or my xampp server, probably the later until it is working properly and i don't know about the future as it is just an idea right now.
EDIT: I actually did this in perl, it did end up a little different than originally planned but it worked so im happy.
Thanks to all who answered.
If you are concerning only on how to schedule the send email function, you can try some open source scheduler like
- A Linux, Apache, MySQL, PHP (LAMP) stack is a combination of open source software that is typically installed together to enable a server to host dynamic […]
- MySQL is an the most popular open-source database management system, in most of hosting company its has been bundle by LAMP(Linux, Apache, MySQL, PHP/Python/Perl) stack. Another alternative […]
- MySQL is the world’s most popular open-source database. Despite its powerful features, MySQL is simple to set up and easy to use. Below are some instructions […]