sogo/packaging/debian-multiarch/sogo.cron.daily
Francis Lachapelle 7d596b08a9 Revert "Remove packaging/debian-multiarch"
This reverts commit 5ede401738.
2018-11-01 14:01:58 -04:00

8 lines
264 B
Bash

#!/bin/sh
# SOGOSPOOL must match the value of the configuration parameter SOGoMailSpoolPath
SOGOSPOOL=/var/spool/sogo
find "$SOGOSPOOL" -type f -user sogo -atime +23 -delete > /dev/null
find "$SOGOSPOOL" -mindepth 1 -type d -user sogo -empty -delete > /dev/null