diff --git a/cron.examples/crontab.txt b/cron.examples/crontab.txt index a183fcd..6f3c1dd 100644 --- a/cron.examples/crontab.txt +++ b/cron.examples/crontab.txt @@ -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:oleg /works 2>&1 +*/30 * * * * (chown -R oleg:cvtt /works/logs && chmod -R 775 /works/logs) 2>&1 # #=========================================================================== # -------- T e s t