File: bandwidthd-pgsql.cron.weekly

package info (click to toggle)
bandwidthd 2.0.1%2Bcvs20090917-18
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,316 kB
  • sloc: sh: 3,010; ansic: 2,752; php: 1,263; yacc: 216; makefile: 152; lex: 36; sql: 27
file content (7 lines) | stat: -rw-r--r-- 183 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
#!/bin/sh

# psql will include database connection info from ~/.pgpass
HOME=/etc/bandwidthd/

# summarize data collected by bandwidthd in database.
/usr/sbin/bd_pgsql_purge.sh | psql