News Feed
Sections




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

Richard Heyes' Blog:
An epiphany... (using cron)
December 26, 2007 @ 09:40:00

Richard Heyes has shared an epiphany he's come up with - a method for running scripts in a web-based environment using lynx.

OK maybe not to you, but it has just occurred to me, and things don't come to me all that fast these days. Cron jobs. [...] You can have a directory inside your webroot called "cron" (imaginative eh?) with scripts in there that are run via cron.

His method uses the cron daemon on the machine to invoke lynx and call the web page through its url. Of course, there are advantages and disadvantages of the method (including having the script open to the world - scary). Be sure to check out the comments for other suggestions from fellow developers.

2 comments voice your opinion now!
cron lynx run script advantage disadvantage cron lynx run script advantage disadvantage


blog comments powered by Disqus

Similar Posts

Utah PHP Users Group - February Meeting, 02.16.06 @ 7pm

Alison Lunde's Blog: Quick and Dirty PHP Caching

Paul van Iterson's Blog: Why you want Object Oriented Programming in PHP

SitePoint PHP Blog: Index of PHP tokens for Emacs and beyond

Abhinav Singh's Blog: How to use locks in PHP cron jobs to avoid cron overlaps


Community Events





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


library unittest laravel threedevsandamaybe application api language community homestead configure developer list wordpress install podcast release series code interview introduction

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