PHP style push application

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Grapher
Forum Newbie
Posts: 1
Joined: Thu Jun 03, 2010 2:31 pm

PHP style push application

Post by Grapher »

I have a an agenda project that includes tasks to be done in the futur. I can set a date for each task and set a reminder date also. How would i go about creating an application that automatically checks each day if there is a reminder to send and call out the php send script wihtout having to go on the task page or manually sending it? Are there any applications that you can install on a computer that can do this sort of thing, a sort of daemon or something? What type of language would i need to use to communicate with my php application. How is this even possible? Any help or guidance on the topic would be very helpful! Thank you!
User avatar
AbraCadaver
DevNet Master
Posts: 2572
Joined: Mon Feb 24, 2003 10:12 am
Location: The Republic of Texas
Contact:

Re: PHP style push application

Post by AbraCadaver »

On Linux you use cron and on Windows you can probably use the Task Scheduler.
mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.
internet-solution
Forum Contributor
Posts: 220
Joined: Thu May 27, 2010 6:27 am
Location: UK

Re: PHP style push application

Post by internet-solution »

If you get frequent visitors to the PHP site, then you can include a function to check and send reminder in index.php (or the most frequenct page).
User avatar
Jonah Bron
DevNet Master
Posts: 2764
Joined: Thu Mar 15, 2007 6:28 pm
Location: Redding, California

Re: PHP style push application

Post by Jonah Bron »

internet-solution wrote:If you get frequent visitors to the PHP site, then you can include a function to check and send reminder in index.php (or the most frequenct page).
AKA the "poor man's cron" :D
Post Reply