chrismfz Posted May 31, 2015 Share Posted May 31, 2015 Like the title says, with automatic suspension enabled, is there an option to do not suspend services on Saturdays / Sundays ? Or a module that I miss ? Or there is not such functionality (yet?) ? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted May 31, 2015 Share Posted May 31, 2015 if you wanted to avoid using action hooks to do this, another way might be to modify the cron job in some way. http://docs.whmcs.com/Crons you could not run the cron job at weekends, only during the weekdays - though that would prevent invoices, reminders, currency updates etc from occurring too, so probably not ideal. alternatively, you could modify your existing cron and split it into two separate crons - a complete one that runs only on weekdays, and a modified one that runs only at weekends, but uses the Option Flag settings to disable suspensions from occurring. http://docs.whmcs.com/Crons#Option_Flags 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted June 5, 2015 WHMCS Support Manager Share Posted June 5, 2015 Hi, You could indeed schedule your cron job to run only on weekdays. Any invoices that were due to be generated on weekends could be generated when the cron ran on Monday. However any reminders that were due to be sent over the weekend would not be sent. 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.