Here is script that I put together for automatic sending of einvoices.
You can put it in the citrusdb root folder and run it from cron daily to
send einvoices to those customers that have E-Invoice billing types and
the current day as their next billing date.
I've put it into the code repository.
Thanks for that Paul
After a lot of fiddling someone suggested I add this line to the
start of the statusupdate file:
chdir("/var/www/mydomain.com/web/billing/");
Which worked really well. Maybe you can consider adding this as
standard? Some how use a variable for the path?
If you could kn
The statusupdate script requires many of the files in the /include
folder of citrus, so if it cannot find those files in the same place it
is at it cannot run. You can copy the /include folder to the same place
you are running statusupdate from to get it to work or a better idea may
be to use a sh
I'm having a little trouble getting the statusupdate script to work,
which is probably down to my lack on linux knowledge.
If I execute the statusupdate script from it's own directory, it runs
without problem. However, if i try to run it from any where else it
returns lots of errors.
I'm tr