This commit is contained in:
Oleg Sheynin
2026-06-22 18:30:29 +00:00
parent 1267b498ea
commit 2721fc0fa5
+14
View File
@@ -0,0 +1,14 @@
# ROOT only crontab
#===========================================================================
#
# ---------- memory
*/5 * * * * /works/admin/free_cache.sh 2>&1 | /usr/bin/ts '[\%Y-\%m-\%d \%H:\%M:\%S]' >> /works/logs/$(date +\%Y\%m\%d).free_cache.log 2>&1
# ---------- 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
#
#===========================================================================
# -------- T e s t
# -------- T e s t