summaryrefslogtreecommitdiff
path: root/bin/bill-as-nextmonth-BILL
diff options
context:
space:
mode:
authorivan <ivan>2007-06-28 20:57:42 +0000
committerivan <ivan>2007-06-28 20:57:42 +0000
commitea9edb4e9584a434e074dbc9f604c401784722f5 (patch)
treec23331ce64c8b2031f5651f32ba6557bd48e88fb /bin/bill-as-nextmonth-BILL
parentd8cd05a99614df9d5a5a73655917aa1988ca9515 (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