PHP style push application
Moderator: General Moderators
PHP style push application
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!
- AbraCadaver
- DevNet Master
- Posts: 2572
- Joined: Mon Feb 24, 2003 10:12 am
- Location: The Republic of Texas
- Contact:
Re: PHP style push application
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
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).
- Jonah Bron
- DevNet Master
- Posts: 2764
- Joined: Thu Mar 15, 2007 6:28 pm
- Location: Redding, California
Re: PHP style push application
AKA the "poor man's cron"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).