<html><head></head><body><div>On Sat, 2018-04-07 at 13:51 +0000, Brian Mine wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex">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?</blockquote><div>Hello Brian,</div><div><br></div><div>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:</div><div>date --date='+1 month' +%m/1/%y returns a date showing the first of the next month.</div><div><br></div><div>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.</div><div><br></div><div>Cheers,</div><div><br></div><div><span><pre>-- <br></pre><div>Nathan Kennedy</div><div>Contracted Professional IT</div><div>(360) 637-1090</div><div>https://www.nkent.us/</div></span></div></body></html>