• Welcome to Sitemap Generator Forum.
 

How to reduce runcrawl.php putput?

Started by jknopp, April 03, 2014, 06:43:20 PM

Previous topic - Next topic

jknopp

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.

XML-Sitemaps Support

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

jknopp