Guest Posted June 22, 2010 Share Posted June 22, 2010 I'm running the cron script twice a day in order to keep usage statistics synchronized with the servers, but it's sending out all invoices on every execution. Shouldn't it just do this once? My users are getting two invoices a day for stuff that's not even overdue yet. Any way around this? 0 Quote Link to comment Share on other sites More sharing options...
striddy Posted June 23, 2010 Share Posted June 23, 2010 You should only be running the cron once daily. To enable the automation features to run, make sure you set up a cron job to run once per day at the time you want invoices to be sent out and accounts suspended (eg. 9am). 0 Quote Link to comment Share on other sites More sharing options...
Guest Posted June 23, 2010 Share Posted June 23, 2010 I know, but then how can i update usage statistics more frequently? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted June 25, 2010 WHMCS Support Manager Share Posted June 25, 2010 You would need to setup a separate cron and then use the flags to disable all functions except usage stats: http://wiki.whmcs.com/Crons#Option_Flags 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.