<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Fri, 04 Jul 2008 15:37:12 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Developer Tutorials Blog: Running PHP cron jobs - regular scheduled tasks in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/10198</guid>
      <link>http://www.phpdeveloper.org/news/10198</link>
      <description><![CDATA[<p>
On the Developer Tutorials blog, <i>Akash Mehta</i> has posted <a href="http://www.developertutorials.com/blog/php/running-php-cron-jobs-regular-scheduled-tasks-in-php-172/">an introduction</a> to working with command-line PHP scripts and cron jobs for site automation.
</p>
<blockquote>
Scheduled tasks are a fairly common feature in modern web applications. From cleaning out caches every 24 hours to checking subscription periods and even generating reports, more web applications live by the clock than ever before. But how do we schedule the execution of a PHP script on the server side?
</blockquote>
<p>
He shows the two key things to getting it working - an example of a command-line call to a PHP script (executed through his /usr/bin/php) and an example of a line from a crontab showing how to execute the script at midnight every day.
</p>]]></description>
      <pubDate>Fri, 16 May 2008 09:32:25 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Executing Destructors Manually in PHP 5]]></title>
      <guid>http://www.phpdeveloper.org/news/9623</guid>
      <link>http://www.phpdeveloper.org/news/9623</link>
      <description><![CDATA[<p>
Finishing off their series on destructors in PHP5 applications today, DevShed has posted <a href="http://www.devshed.com/c/a/PHP/Executing-Destructors-Manually-in-PHP-5/">this new tutorial</a> showing how to manually run the destructors of your class (in case there's ever a need).
</p>
<blockquote>
In this final tutorial of the series I'm going to show you how to manually trigger a destructor, and in addition you'll learn how to emulate the behavior of this magic method when using PHP 4.
</blockquote>
<p>
They not only talk about how to <a href="http://www.devshed.com/c/a/PHP/Executing-Destructors-Manually-in-PHP-5/1/">call the destructor</a> manually but they also show how to call multiple destructors at the same time to destroy lots of objects at once. And, as promised, they include <a href="http://www.devshed.com/c/a/PHP/Executing-Destructors-Manually-in-PHP-5/3/">a method</a> for being able to use a destructor-like bit of functionality in a PHP4 app as well.
</p>]]></description>
      <pubDate>Wed, 13 Feb 2008 11:27:00 -0600</pubDate>
    </item>
  </channel>
</rss>
