PHP - Script continuous execution
Posted: Sat Mar 13, 2010 4:16 am
Hi all,
I am in need of good suggestion from PHP Developers.
I want to run background script, which will run 24 hours a day. What i need is the program will connect to a remote SMPP Provider (SMS Gateway), and the gateway will be connected or Alive 24 hours. In that Program in specific interval , the databse will be polled for new entries, if new items the code will take and send the messages. My question is can i use a program to run 24 hours and access database. Is there any overhead in server or database. I want to use Dedicated or VPS Server.
Please help me with your suggestions and possiblities (Errors ) also.
Thanks
I am in need of good suggestion from PHP Developers.
I want to run background script, which will run 24 hours a day. What i need is the program will connect to a remote SMPP Provider (SMS Gateway), and the gateway will be connected or Alive 24 hours. In that Program in specific interval , the databse will be polled for new entries, if new items the code will take and send the messages. My question is can i use a program to run 24 hours and access database. Is there any overhead in server or database. I want to use Dedicated or VPS Server.
Please help me with your suggestions and possiblities (Errors ) also.
Thanks