I am building a billing system. The system needs to monthly issue invoices to customers.
What I am doing now is to use the For loop to check all clients on my previous accounts and decide whether it is time to create an account for the client.
If the database has a huge number of customers, I think it can be very difficult.
What is the standard way to create invoices? Is it possible to do cron jobs that record the date of the next customer invoice, and only check for a particular customer when it comes time to create an invoice.
Thanks a million
source
share