How to reduce runcrawl.php putput?
« on: April 03, 2014, 06:43:20 PM »
Every night runcrawl.php is triggered by cron. All works fine except I pipe the output to email to keep an eye on problems. Unfortunately that makes for a 5MB email every morning which is rather slow to load. Any way to reduce the cron output frequency? I thought perhaps slowing the auto-save rate would tie-in but no luck.

If not, I'll just have to pipe stdout to devnull, and rely on any problems showing up in stderr, but i suspect that will only catch php level fatal errors, not code level problems.
Re: How to reduce runcrawl.php putput?
« Reply #1 on: April 05, 2014, 01:43:35 PM »
Hello,

there is no such a function in generator itself, but you can try to pipe it with "tail" command to receive last N lines of output:
php runcrawl.php|tail
Re: How to reduce runcrawl.php putput?
« Reply #2 on: April 05, 2014, 05:56:01 PM »
That's a smart idea, thx.