MeHost Posted May 14, 2012 Share Posted May 14, 2012 Hey, So i run a Cron Job every minute, so account activation's are more or less instant. The problem is i get a email every minute with the text : Cron Job Report for 14-05-2012 10:52:01 Updated Currency Exchange Rates X Invoices Created X Overdue Invoice Reminders Sent X Invoice Payment Reminders Sent X Upcoming Domain Renewal Notices Sent X Cancellation Requests Automatically Processed X Services Suspended X Fixed Term Services Terminated Email Marketer Processing Disk & Bandwidth Usage Statistics Updated I would like the Cron job to run every minute, But not get a email every minute ? help please ! Thanks ! 0 Quote Link to comment Share on other sites More sharing options...
striddy Posted May 14, 2012 Share Posted May 14, 2012 i run a Cron Job every minute, so account activation's are more or less instant. The problem is i get a email every minute with the text : You do NOT run the CRON more than once per day. http://docs.whmcs.com/Automation_Settings 0 Quote Link to comment Share on other sites More sharing options...
bear Posted May 14, 2012 Share Posted May 14, 2012 Set the WHMCS provisioning settings to automatically set up accounts on payment, and that takes care of it. The cron is daily only, as mentioned. 0 Quote Link to comment Share on other sites More sharing options...
m8internet Posted May 14, 2012 Share Posted May 14, 2012 So i run a Cron Job every minute, so account activation's are more or less instant. Equally account activiation is automated within WHMCS scripts, you can test this by placing a maual order on a test account Once you have tested this, delete the test accounts Instant activation should take no more than 3 minutes, from gateway confirmation to the final email sent from WHMCS (and your server control panel) 0 Quote Link to comment Share on other sites More sharing options...
disgruntled Posted May 15, 2012 Share Posted May 15, 2012 as stated this is a daily run cron job If my memory serves correctly this cron job running more than once a day will totally mess with your billing because it will be creating invoice after invoice on the days they are due for creation. Once a minute if this is the case would result in 1440 invoices for just one client. now if you have that every day and have multiple clients each and every day you can imagine what sort of mess you are going to get yourself into with your billing system, and that would also mean on this day, the client will get 1440 emails from you telling they have an invoice created. and then the same for reminders, late notices suspensions termination.. Talk about a way to kill your server lol. Although i may be incorrect here and it may not work this way, but it still is only a once a day task, doesnt need to run more than that. (also on a very large database the 1minute cron jobs will not have time to complete before the next is due to go off. you could essentially have hundreds of processes running the exact same task. this alone will bring a system down if its not kept in check 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted May 15, 2012 Share Posted May 15, 2012 If my memory serves correctly this cron job running more than once a day will totally mess with your billing because it will be creating invoice after invoice on the days they are due for creation. No, it's doesn't do anything like that, although it will annoy-the-cr@p out of clients (and admins) 0 Quote Link to comment Share on other sites More sharing options...
m8internet Posted May 15, 2012 Share Posted May 15, 2012 Agreed, once an invoice has been created on a specific date, the cron simply resends it, it does not create a new one I attempted to use the cron to update the stats available to clients (disk space and bandwidth) and had it running once every hour I too decided this was useless I did look at a simplified cron for this purpose, but without access to the original code this has not been possible 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted May 17, 2012 Share Posted May 17, 2012 I did look at a simplified cron for this purpose, but without access to the original code this has not been possible It's completely possible - read the instructions 0 Quote Link to comment Share on other sites More sharing options...
m8internet Posted May 17, 2012 Share Posted May 17, 2012 It's completely possible - read the instructions Odd, as I have a response from WHMCS that this is not possible...! "It is not possible to amend this data" 0 Quote Link to comment Share on other sites More sharing options...
GORF Posted May 18, 2012 Share Posted May 18, 2012 Odd, as I have a response from WHMCS that this is not possible...! "It is not possible to amend this data" Have the cron call /admin/reports.php?report=disk_usage_summary&action=updatestats 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted May 21, 2012 Share Posted May 21, 2012 "It is not possible to amend this data" RTFM it helps ... 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.