Yes, invoicing and other tools could be run from a cron job, though I haven't tried it myself it should be fairly easy to do using a program like wget. You'll have to have it load the cookies to login though. I found it has a function called --load-cookies to do this (http://www.gnu.org/software/wget/manual/wget.html#index-cookies_002c-loading-74)
To do a range of dates I've had to add a field to take the first date and last date in the range. You cannot enter something like >2006-03-28 or 2006-03-28...2006-03-31 because the operators will get cleaned out by the form processing. When you make an invoice it moves the customer's next billing date forward for you, so you can't print the invoice twice using the same date, their billing date moved ahead the corresponding number of months according to their billing type, monthly moves 1 month, 6 monthly moves 6 months etc. You could print the invoice again if you were using the individual billing ID to generate the invoice, but it would have different billing dates on it. Paul On 3/28/06, Pagehit Talklists <[EMAIL PROTECTED]> wrote: > Could we make a cron job run this daily? > > Also what about making a range of dates, so you could do a week at a time? > > I think it could be a problem if you printed an invoice and mailed it and > then reprinted it and forgot you mailed it. Same with email, would it email > the invoice many times if you did the same date twice? > > Regards, > Phil > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf > > Of Paul Yasi > > Sent: Tuesday, March 28, 2006 10:37 AM > > To: citrusdb-users@lists.sourceforge.net > > Subject: Re: [Citrusdb-users] Printing Invoices > > > > Well it was made to be used daily, or you could prorate > > customers into a billing cycle like on the 1st and 15th or > > whatever works for you and just print or email invoices on > > those specific days. It's kinda dumb about it and just > > prints whatever day is in the next billing date with that > > billing type, it doesn't actually check if an invoice has > > already been printed, maybe you didn't want to invoice them > > yet, if their service isn't activated yet or something. I > > think this lets the people control the billing system, rather > > than the billing system control the people. You can put any > > day you want in there, so if you miss some days, you can put > > past days in there. > > > > Paul > > > > On 3/25/06, Pagehit Talklists <[EMAIL PROTECTED]> wrote: > > > Hello, > > > > > > When you click print invoices shouldn't it print all > > invoice up to and > > > including the date selected? > > > > > > I would have a marker on the invoice if it has been printed to not > > > print again except manually. > > > > > > This way no invoices can "fall through the cracks". > > > > > > The way it stands now, if I don't print invoices every day > > then I can > > > miss some billing, unless I am doing something wrong. > > > > > > Regards, > > > Phil > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by xPML, a groundbreaking scripting > > > language that extends applications into web and mobile > > media. Attend > > > the live webcast and join the prime developer group > > breaking into this new coding territory! > > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=1216 > > > 42 _______________________________________________ > > > Citrusdb-users mailing list > > > Citrusdb-users@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/citrusdb-users > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking > > scripting language that extends applications into web and > > mobile media. Attend the live webcast and join the prime > > developer group breaking into this new coding territory! > > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > > _______________________________________________ > > Citrusdb-users mailing list > > Citrusdb-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/citrusdb-users > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642 > _______________________________________________ > Citrusdb-users mailing list > Citrusdb-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/citrusdb-users > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Citrusdb-users mailing list Citrusdb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/citrusdb-users