From 68beb3543ca552126c21361d965ba0ba04e2752f Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 29 Aug 2022 14:54:37 +0100 Subject: [PATCH] Example crontab entry --- README_commandline.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README_commandline.md b/README_commandline.md index 72040271e..64f13b4f2 100644 --- a/README_commandline.md +++ b/README_commandline.md @@ -242,6 +242,12 @@ If you want old posts to be deleted for data minimization purposes then the arch python3 epicyon.py --archive /dev/null --archiveweeks 4 --maxposts 32000 ``` +You can put this command into a cron job to ensure that old posts are cleared down regularly. In */etc/crontab* add an entry such as: + +``` bash +*/60 * * * * root cd /opt/epicyon && /usr/bin/python3 epicyon.py --archive /dev/null --archiveweeks 4 --maxposts 32000 +``` + ## Blocking and unblocking Whether you are using the **--federate** option to define a set of allowed instances or not, you may want to block particular accounts even inside of the perimeter. To block an account: