initial commit of file from CVS for smeserver-hylafax on Sat Sep 7 20:28:13 AEST 2024

This commit is contained in:
Trevor Batley
2024-09-07 20:28:13 +10:00
parent 1fbad8bb1b
commit c445749682
24 changed files with 777 additions and 2 deletions

21
root/etc/cron.weekly/hylafax Executable file
View File

@@ -0,0 +1,21 @@
#!/bin/sh
# Run the daily report with conservative settings (delete as little as possible)
# If you're short on disk space, you might want to tune this commandline.
# Don't run faxcron if HylaFAX has not been setup using faxsetup.
# 'man faxcron' for more info
if [ -f /var/spool/hylafax/etc/setup.cache -o -f /var/spool/fax/etc/setup.cache ]; then
/usr/sbin/faxcron \
-info 60 \
-log 730 \
-rcv 3650 \
-tmp 7 | mail -s "HylaFAX Usage Report" faxmaster
fi
#check the daily cron job is still gone
/bin/rm -f /etc/cron.daily/hylafax
exit 0