/etc/cron.weekly/hylafax is in hylafax-server 3:6.0.6-5.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | #!/bin/sh
test -f /usr/sbin/faxcron || exit 0
test -f /usr/sbin/faxqclean || exit 0
test -f /var/spool/hylafax/log/xferfaxlog || exit 0
# HylaFAX queue cleaner process (3024000s = 35 days)
FAXQCLEAN_OPTS="-t -j 3024000 -a"
FAXCRON_OPTS="-info 35 -log 35 -rcv 100 -tmp 15 -mode 664"
# override or delete FAXQCLEAN_OPTS and FAXCRON_OPTS
if [ -r /etc/default/hylafax ]; then
. /etc/default/hylafax
fi
# Rotate the HylaFAX logfile
savelog -c 5 /var/log/hylafax/hylafax.log >/dev/null
# HylaFAX routine maintenance script
if [ -n "$FAXCRON_OPTS" ]
then
savelog -c 5 /var/log/hylafax/faxcron.log >/dev/null
faxcron $FAXCRON_OPTS >> /var/log/hylafax/faxcron.log 2>&1
fi
if [ -n "$FAXQCLEAN_OPTS" ]
then
savelog -c 5 /var/log/hylafax/faxqclean.log >/dev/null
faxqclean $FAXQCLEAN_OPTS >> /var/log/hylafax/faxqclean.log 2>&1
fi
|