Is there a way to delay the sending of renewal invoices on weekends? That way my clients only receive their invoices on weekdays.
I know it is a long shot, but I am hoping there is a simple way to stop Blesta from sending/renewing on weekends. E.g. If today = a weekend, stop the process. Of course, every 5 minute,s or whatever the cron is set to, the system will be blocked, but once Monday hits, the system would work through the backlog and process the renewals like normal. I have a small client base, so I don't necessarily need to worry about the backlog breaking my system, but I would love to find a way to block the system from sending renewals on weekends.
A better method might be to actually adjust the renewal date itself instead of blocking the emails. If there was a way to add an additional check when the system sets the next renewal date, that would probably work as well. The additional check could calculate if the renewal falls on a weekend and then automatically schedule the next renewal to be on the closest weekday in the future. E.g. If next renewal date = a weekend, set renewal ahead to Monday.
Any idea on how I could do this? Or at least could you point me in the right direction to find the files that handle these functions in Blesta?
Question
Jason
Is there a way to delay the sending of renewal invoices on weekends? That way my clients only receive their invoices on weekdays.
I know it is a long shot, but I am hoping there is a simple way to stop Blesta from sending/renewing on weekends. E.g. If today = a weekend, stop the process. Of course, every 5 minute,s or whatever the cron is set to, the system will be blocked, but once Monday hits, the system would work through the backlog and process the renewals like normal. I have a small client base, so I don't necessarily need to worry about the backlog breaking my system, but I would love to find a way to block the system from sending renewals on weekends.
A better method might be to actually adjust the renewal date itself instead of blocking the emails. If there was a way to add an additional check when the system sets the next renewal date, that would probably work as well. The additional check could calculate if the renewal falls on a weekend and then automatically schedule the next renewal to be on the closest weekday in the future. E.g. If next renewal date = a weekend, set renewal ahead to Monday.
Any idea on how I could do this? Or at least could you point me in the right direction to find the files that handle these functions in Blesta?
Thanks so much for your help!
--Jason
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.