[freeside-users] Generate invoices early?

Brian Mine bbooker45 at gmail.com
Sat Apr 7 11:06:30 PDT 2018


Hi Nathan,

Thanks for your help with this. Unfortunately I'm still stuck. I tried it
on a test/dummy account as:

freeside-daily -d date --date='+1 month' +%m/1/%y freeside 012.

That tried to pass off  +%m/1/%y as the user. If you would kindly
point out my rookie error it'll be much appreciated.

Thanks!


On Sat, Apr 7, 2018, 11:22 AM Nathan Kennedy <nathan at nkent.us> wrote:

> On Sat, 2018-04-07 at 13:51 +0000, Brian Mine wrote:
>
> We bill on the 1st of the month. How do we set freeside-daily to generate
> the invoices around the 25th of the previous month?
>
> Hello Brian,
>
> You need to run freeside-daily with the -d flag and pass the appropriate
> date to it. You can do this using the date command, for example:
> date --date='+1 month' +%m/1/%y returns a date showing the first of the
> next month.
>
> You also need to schedule things properly in your freeside users crontab
> so on every day but your billing day it runs normally and on the billing
> day it runs freeside-daily normally and then the freeside-daily with the -d
> flag defined.
>
> Cheers,
>
> --
>
> Nathan Kennedy
> Contracted Professional IT
> (360) 637-1090
> https://www.nkent.us/
> _______________________________________________
> freeside-users mailing list
> freeside-users at freeside.biz
> http://mail.freeside.biz/cgi-bin/mailman/listinfo/freeside-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.freeside.biz/pipermail/freeside-users/attachments/20180407/4b450fc3/attachment.html>


More information about the freeside-users mailing list