From 563eb948a111d4b4bcf29ed2088ac8e7218a407c Mon Sep 17 00:00:00 2001 From: Cryptoval2 Date: Tue, 23 Jun 2026 17:15:49 +0000 Subject: [PATCH] progress --- cron/example.root.crontab | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 cron/example.root.crontab diff --git a/cron/example.root.crontab b/cron/example.root.crontab new file mode 100644 index 0000000..6f3c1dd --- /dev/null +++ b/cron/example.root.crontab @@ -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:cvtt /works/logs && chmod -R 775 /works/logs) 2>&1 +# +#=========================================================================== +# -------- T e s t +# -------- T e s t +