Skip to content

debian: fix cron log cleanup command#471

Merged
AltraMayor merged 1 commit intoAltraMayor:masterfrom
andrenth:debian-cron-fixes
Apr 27, 2021
Merged

debian: fix cron log cleanup command#471
AltraMayor merged 1 commit intoAltraMayor:masterfrom
andrenth:debian-cron-fixes

Conversation

@andrenth
Copy link
Collaborator

Two fixes in the log cleanup command:

  1. The wildcard must be escaped, i.e. gatekeeper_\*.log;
  2. -mtime +1 results in only logs older than 2 days being deleted; switch to -mtime 1 for the intended 24h interval.

Copy link
Owner

@AltraMayor AltraMayor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

debian: fix cron log cleanup command

@AltraMayor AltraMayor added this to the First deployment milestone Apr 27, 2021
@AltraMayor AltraMayor added the bug label Apr 27, 2021
@AltraMayor AltraMayor merged commit 97dd8f5 into AltraMayor:master Apr 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants