summaryrefslogtreecommitdiff
path: root/bin/bill-as-nextmonth-BILL
diff options
context:
space:
mode:
authorivan <ivan>2007-06-28 20:57:46 +0000
committerivan <ivan>2007-06-28 20:57:46 +0000
commitdd6e0f7e0c61981b46ccf60a42423a5f6c325960 (patch)
treec25799c2ed8261747e88cf3d1a997faa03a6df7a /bin/bill-as-nextmonth-BILL
parent4fd21b0e062463da8f426547613c1e92653147e9 (diff)
add some quick scripts for cron jobs
Diffstat (limited to 'bin/bill-as-nextmonth-BILL')
-rwxr-xr-xbin/bill-as-nextmonth-BILL5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/bill-as-nextmonth-BILL b/bin/bill-as-nextmonth-BILL
new file mode 100755
index 000000000..91e943110
--- /dev/null
+++ b/bin/bill-as-nextmonth-BILL
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+month=`date +%m`
+nextmonth=`expr $month + 1`
+/usr/local/bin/freeside-daily -d $nextmonth/1/`date +%Y` -p BILL fs_daily