Is there any way I can have htdig report only stderr when run from cron? I don�t need the output from htdig unless something has gone wrong.
This is my current crontab. If I pipe to /dev/null, won�t everything get thrown out, even STDERR? I was thinking of putting it into logrotate.d, then I wouldn�t get an email from cron, but would I get an email at all? /src/util/update_htdig_db.sh 2>&1 This script runs: /var/wwwdata/tools/htdig/bin/htdig -i -c /var/wwwdata/tools/htdig/conf/blah.conf ###Blah.conf### database_dir: /var/wwwdata/tools/htdig/db/blah start_url: http://www.trilegiant.com/ limit_urls_to: ${start_url} exclude_urls: /media/press_release.cgi bad_extensions: .wav .gz .z .sit .au .zip .tar .hqx .exe .com .gif \ .jpg .jpeg .aiff .class .map .ram .tgz .bin .rpm .mpg .mov .avi .pdf maintainer: [EMAIL PROTECTED] max_head_length: 100000 max_doc_size: 200000 no_excerpt_show_top: true search_algorithm: exact:1 synonyms:0.5 endings:0.1 # # Specify the search templates # search_results_wrapper: /var/wwwroot/blah-insec/htdocs/searchresults/resul ts.html nothing_found_file: /var/wwwroot/blah-insec/htdocs/searchresults/nomatch.h tml syntax_error_file: /var/wwwroot/blah-insec/htdocs/searchresults/syntax.ht ml # # Set up the 'stars' information # use_star_image: yes star_image: /images/search/srbox_on.gif star_blank: /images/search/srbox_none.gif max_stars: 5 # # Turn on logging of the search strings. # logging: true template_map: Long long ${common_dir}/long.html \ Short short ${common_dir}/short.html template_name: long search_results_wrapper: /var/wwwroot/blah-insec/htdocs/searchresults/resul ts.html nothing_found_file: /var/wwwroot/blah-insec/htdocs/searchresults/nomatch.h tml syntax_error_file: /var/wwwroot/blah-insec/htdocs/searchresults/syntax.ht ml # # Set up the 'stars' information # use_star_image: yes star_image: /images/search/srbox_on.gif star_blank: /images/search/srbox_none.gif max_stars: 5 # # Turn on logging of the search strings. # logging: true Thank you! James Herschel ------------------------------------------------------- This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html _______________________________________________ htdig-general mailing list <[EMAIL PROTECTED]> To unsubscribe, send a message to <[EMAIL PROTECTED]> with a subject of unsubscribe FAQ: http://htdig.sourceforge.net/FAQ.html

