iHelpersLLC Posted November 12, 2014 Share Posted November 12, 2014 We would like to automatically upgrade clients to a bigger package when their current bandwidth/disk quotas are exceeded (or get close) .. This seems to be a better option than suspending them. So far I can see no way to configure this to happen either automatically or even semi-automatically. Is this possible? Any modules that can do this (i have not found anything) ? 0 Quote Link to comment Share on other sites More sharing options...
jclarke Posted November 13, 2014 Share Posted November 13, 2014 It's possible but you would need to write a custom php hook to do this. What you would need is a DailyCronJob hook script which would get triggered after the main cron job is ran which updates the disk and bandwidth usage. Then you would query the database looking for services that are over or near the limit, if it is over the limit via the API call Upgrade Product to automatically upgrade the client. 0 Quote Link to comment Share on other sites More sharing options...
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.