This commit is contained in:
Oleg Sheynin
2026-06-23 18:08:51 +00:00
parent 1e392a94de
commit ab8adb01d8
+1 -1
View File
@@ -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 775 /works/logs && chmod 665 /works/logs/*.log) 2>&1
*/30 * * * * (chown -R oleg:cvtt /works/logs && && chmod 664 /works/logs/* ) 2>&1
#
#===========================================================================
# -------- T e s t