Skip to content

Cron ignores NO_SUCCESS_NOTICE = true setting #13179

@rozhuk-im

Description

@rozhuk-im
  • Gitea version (or commit ref): 1.12.5
  • Git version: 2.28.0
  • Operating system: FreeBSD 12.2 amd64
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

I have set all NO_SUCCESS_NOTICE = true but got in logs:

Cron: Reinitialize all missing Git repositories for which records exist has finished
Cron: Delete all repositories missing their Git files has finished
Cron: Delete old repository archives has finished
Cron: Check all repository statistics has finished
Cron: Update migration poster IDs has finished
Cron: Clean-up deleted branches has finished
Cron: Update Mirrors has finished
Cron: Update Mirrors has finished

I prefer not see this, and see only errors in log, that requires some actions from me.
It is hard to filter spam from Cron to find important events.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions