]> git.pld-linux.org Git - packages/exim.git/blame - exim.cron.db
- rel 3; run tidydb daily (not weekly) because on some systems databases grow too...
[packages/exim.git] / exim.cron.db
CommitLineData
7f0182a7
AM
1#!/bin/sh
2cd /
2bb95240
AM
3
4SPOOLDIR="$(/usr/bin/exim -bP spool_directory | /bin/sed 's/.*=[[:space:]]\(.*\)/\1/')"
5
6[ ! -d "$SPOOLDIR" ] && echo "Spooldir [$SPOOLDIR] is not a directory" && exit 1
7
312635e6 8/usr/bin/find $SPOOLDIR/db -maxdepth 1 -name '*.lockfile' -or -type f -printf '%f\0' | xargs -0r -n 1 /usr/bin/exim_tidydb $SPOOLDIR > /dev/null
9abc83e7
AM
9
10exit 0
This page took 0.064766 seconds and 4 git commands to generate.