News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Dhiraj Patra's Blog:
Running PHP Scripts with Cron
August 05, 2008 @ 08:45:03

Dhiraj Patra has posted a tutorial to his "LAM-PHP" blog today looking at a different-than-usual way for running PHP scripts - in the cron.

Lots of programmers like PHP for its ability to code and develop web applications fast. Code-debugging is a lot easier than with PERL or C. However, there is one thing a lot of developers are puzzled about, "How to run PHP Scripts with crontab?"

He explains how cron can be used effectively to replace including a backend script into another file (bad practice) and how to get started with PHP and cron. He includes how to find if you're using a CGI or Apache version of PHP and how to locate the binary. He takes this knowledge and shows how to apply it and put a sample script into the cron file. You can check out sites like this or this for more information on cron itself.

0 comments voice your opinion now!
script cron crontab cgi apache module binary tutorial


blog comments powered by Disqus

Similar Posts

Zend Developer Zone: AJAX Chat Tutorial Part 6 : Updating the User List

Till Klampaeckel's Blog: Quo vadis PEAR?

Chris Hartjes' Blog: CakePHP Plugins Server

UltraVisual Blog: Running PHP Eclipse with FDT / FB & Ant

Vexxblog: How to convert/encode files to FLV using FFMPEG & PHP


Community Events





Don't see your event here?
Let us know!


tool composer library language list artisanfiles voicesoftheelephpant interview version security introduction community symfony framework conference series laravel release podcast opinion

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework