summaryrefslogtreecommitdiff
path: root/bin/bill-as-nextmonth-BILL
diff options
context:
space:
mode:
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 0000000..91e9431
--- /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