filed

Job queue using FUSE

git clone git://mccd.space/filed

commit 2f53d59f33ef2c2437c6c08a62bffd09ef53b59f
parent 077146d189df58746afa0fbf54611b93ae37e843
Author: Marc Coquand <marc@coquand.email>
Date:   Mon, 15 Dec 2025 15:56:06 +0100

Docs

Diffstat:
Mqj.1.scd | 11+++++++++++
1 file changed, 11 insertions(+), 0 deletions(-)
diff --git a/qj.1.scd b/qj.1.scd
@@ -54,6 +54,17 @@ features are coming in the future.
 
 Access rights can be modified using _CHOWN(1)_ and _CHMOD(1)_. 
 
+# MAINTENANCE
+
+qj never removes logs of completed and failed jobs. It is therefore recommended that the admin adds a 
+cron job to clean up old jobs. Such a cron job could look like this, for example:
+
+	```
+	0 2 * * * find /path/to/qj/{complete,failed} -type f -mtime +7 -delete
+	```
+
+The above cronjob looks for jobs older than 1 week and removes them.
+
 # ENVIRONMENT
 
 ## QJ_STATE_FILE