summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorivan <ivan>2007-05-08 16:51:12 +0000
committerivan <ivan>2007-05-08 16:51:12 +0000
commit030e64724c5fcb824785c531e8aaa1973e467108 (patch)
tree6933443378259160845db26b260b1c17711c493b /bin
parenta29ca7854db66e3fa41ad6973aab65a148cb9145 (diff)
*** empty log message ***
Diffstat (limited to 'bin')
-rwxr-xr-xbin/bill-nextmonth5
-rwxr-xr-xbin/bill-nextyear5
2 files changed, 10 insertions, 0 deletions
diff --git a/bin/bill-nextmonth b/bin/bill-nextmonth
new file mode 100755
index 000000000..813e84193
--- /dev/null
+++ b/bin/bill-nextmonth
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+month=`date +%m`
+nextmonth=`expr $month + 1`
+/usr/local/bin/freeside-daily -d $nextmonth/1/`date +%Y` fs_daily
diff --git a/bin/bill-nextyear b/bin/bill-nextyear
new file mode 100755
index 000000000..63c4ad2be
--- /dev/null
+++ b/bin/bill-nextyear
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+year=`date +%Y`
+nextyear=`expr $year + 1`
+/usr/local/bin/freeside-daily -d 1/1/$nextyear fs_daily