<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi.<br>
    <br>
    I was wondering what methods you use to make osm2pgsql be quiet when
    run by crontab. It is very annoying to receive a
    everything-is-normal message every time I run it. I run it from
    within a shellscript since I need to execute other commands before
    and after it runs.<br>
    <br>
    Internet search resulted in a github fork[1] where somebody
    implemented a quiet support but hasn't been accepted into the main
    distribution. I tried the -q, --quiet and --silent parameters. I
    also tried to stick '> /dev/null' and '> /dev/null
    2>&1' at the end of the osm2pgsql command within the
    shellscript with no effect.<br>
    <br>
    The only viable solution left, it seems, is to turn off e-mails from
    crontab completely. However, I do have other processes which I need
    to receive error messages from, including those within the
    shellscript.<br>
    <br>
    What would you recommend?<br>
    <br>
    [1]
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    <a href="https://github.com/openstreetmap/osm2pgsql/pull/7">https://github.com/openstreetmap/osm2pgsql/pull/7</a><br>
    <br>
    - Svavar Kjarrval<br>
  </body>
</html>