From b45a7f00b68d7090f13d2f5281d88e49b0c82224 Mon Sep 17 00:00:00 2001 From: YuruC3 Date: Sat, 23 Mar 2024 19:14:14 +0100 Subject: [PATCH] Edit to README --- README.md | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index bf636cb..4c12b75 100644 --- a/README.md +++ b/README.md @@ -9,12 +9,22 @@ In **arc_check.sh** change ****** value to match the size you want. F ### Crontab -**1>** redirects stdout to /tmp/arc_size.log -**2>** stderr to /tmp/arc_size.errlog +Go to **System Settings -> Advanced -> Cron Jobs** -<_cronexpression_> /dir/to/file/arc_check.sh 1> /tmp/arc_size.log 2> /tmp/arc_size.errlog +Click **Add** +In **Command** filed you need write path that contains your script, as follows: + +/dir/to/file/arc_check.sh + +You can run this script as root, but you should set your permission up so that a special user can run and edit zfs_arc_max file. + +In **Schedule** you set it to run every at minute 0 past every 4th hour. + +00 */4 * * * + +You can also uncheck Hide Standard Output/Error. ### InitScript