[freeside-users] Generate invoices early?

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


Thanks for the help! Sorry for all the dumb questions and hand holding.

That did the trick.

Thanks again, much appreciated.

On Sat, Apr 7, 2018 at 1:17 PM, Charles Sprickman <spork at bway.net> wrote:

>
>
> On Apr 7, 2018, at 2:06 PM, Brian Mine <bbooker45 at gmail.com> wrote:
>
> 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.
>
>
> You want to execute the date command, so put backticks (`) around it.
>
> For example:
>
> freeside-daily -d `date --date='+1 month' +%m/1/%y` freeside 012
>
> That will execute the command between the backticks.
>
> Charles
>
>
> 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
>>
> _______________________________________________
> freeside-users mailing list
> freeside-users at freeside.biz
> http://mail.freeside.biz/cgi-bin/mailman/listinfo/freeside-users
>
>
>
> _______________________________________________
> 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/773f1a3d/attachment.html>


More information about the freeside-users mailing list