1 |
slords |
1.1 |
#!/bin/sh |
2 |
|
|
|
3 |
|
|
# Run the daily report with conservative settings (delete as little as possible) |
4 |
|
|
# If you're short on disk space, you might want to tune this commandline. |
5 |
|
|
# Don't run faxcron if HylaFAX has not been setup using faxsetup. |
6 |
|
|
|
7 |
|
|
# 'man faxcron' for more info |
8 |
|
|
|
9 |
|
|
if [ -f /var/spool/hylafax/etc/setup.cache -o -f /var/spool/fax/etc/setup.cache ]; then |
10 |
|
|
/usr/sbin/faxcron \ |
11 |
|
|
-info 60 \ |
12 |
|
|
-log 730 \ |
13 |
|
|
-rcv 3650 \ |
14 |
|
|
-tmp 7 | mail -s "HylaFAX Usage Report" faxmaster |
15 |
|
|
fi |
16 |
|
|
|
17 |
|
|
exit 0 |