Logging vs email notification for scheduled jobs?

  • It appears that the results of a scheduled job are not logged (other than in an email notification). What is a good way to make sure the output is saved? It seems if I pipe it to a file, the email notification doesn't get triggered...


    Bash
    >> restic [args here] stats latest > /var/log/restic.log

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!