From 1e392a94de471968b47fe4b05296b6d24c2a2862 Mon Sep 17 00:00:00 2001 From: Oleg Sheynin Date: Tue, 23 Jun 2026 18:02:56 +0000 Subject: [PATCH] progress --- cron/example.root.crontab | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cron/example.root.crontab b/cron/example.root.crontab index 6f3c1dd..74aa407 100644 --- a/cron/example.root.crontab +++ b/cron/example.root.crontab @@ -6,7 +6,7 @@ # ---------- file system 0 8 * * * /works/admin/fs_trim.sh 2>&1 | /usr/bin/ts '[\%Y-\%m-\%d \%H:\%M:\%S]' >> /works/logs/$(date +\%Y\%m\%d).fstrim.log 2>&1 # ---------- for logs maintenance -*/30 * * * * (chown -R oleg:cvtt /works/logs && chmod -R 775 /works/logs) 2>&1 +*/30 * * * * (chown -R oleg:cvtt /works/logs && chmod 775 /works/logs && chmod 665 /works/logs/*.log) 2>&1 # #=========================================================================== # -------- T e s t