diff myrss/index.php @ 27:f93693980ead

myrss: limit number of forked processes; tweak indexing; print both stdout and stderr from shell script to php page
author paulo@thepaulopc
date Sat, 04 Jun 2011 22:20:26 -0700
parents 469b1e6dd364
children 28221b9bb370
line diff
     1.1 --- a/myrss/index.php	Sat Jun 04 22:17:24 2011 -0700
     1.2 +++ b/myrss/index.php	Sat Jun 04 22:20:26 2011 -0700
     1.3 @@ -11,7 +11,7 @@
     1.4  $newbody = '';
     1.5  
     1.6  if ((time() - $cache_mtime >= $cache_life)) {
     1.7 -	$newbody = shell_exec('./myrss_update.sh');
     1.8 +	$newbody = shell_exec('./myrss_update.sh 2>&1');
     1.9  	file_put_contents($cache_fn, $newbody);
    1.10  } else {
    1.11  	$newbody = file_get_contents($cache_fn);