From: ivan Date: Sat, 9 Jun 2007 00:53:20 +0000 (+0000) Subject: adding bill-for-next* hacks like bill-next* stuff but with -n flag, for skycatcher X-Git-Tag: freeside_1_7_3rc1~426 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=bf6685163659f1b1be7efb9dfbf1a36c4cfce7f6;p=freeside.git adding bill-for-next* hacks like bill-next* stuff but with -n flag, for skycatcher --- diff --git a/bin/bill-for-nextmonth b/bin/bill-for-nextmonth new file mode 100755 index 000000000..e1a33764e --- /dev/null +++ b/bin/bill-for-nextmonth @@ -0,0 +1,5 @@ +#!/bin/sh + +month=`date +%m` +nextmonth=`expr $month + 1` +/usr/local/bin/freeside-daily -d $nextmonth/1/`date +%Y` -n fs_daily diff --git a/bin/bill-for-nextyear b/bin/bill-for-nextyear new file mode 100755 index 000000000..1430a5898 --- /dev/null +++ b/bin/bill-for-nextyear @@ -0,0 +1,5 @@ +#!/bin/sh + +year=`date +%Y` +nextyear=`expr $year + 1` +/usr/local/bin/freeside-daily -d 1/1/$nextyear -n fs_daily