File: cron.daily

package info (click to toggle)
ipac 0.99-3
  • links: PTS
  • area: main
  • in suites: slink
  • size: 180 kB
  • ctags: 64
  • sloc: perl: 878; ansic: 451; sh: 169; makefile: 69
file content (9 lines) | stat: -rw-r--r-- 277 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
#!/bin/sh
test -f /etc/ipac.conf && test -f /usr/sbin/fetchipac || exit 0

# Summarize ip accounting info:
# every day, sum up the data of 7 days ago into one file.
/usr/sbin/ipacsum -r -t "the day 7 days ago" >/dev/null

# Further processing is done in /etc/cron.weekly/ipac