Sohan Posted September 13, 2008 Share Posted September 13, 2008 How do I stop these emails coming? I'm getting bombarded with them! Only happend after the move to 3.7.1 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted September 13, 2008 WHMCS CEO Share Posted September 13, 2008 You should get one report each time it runs. You shouldn't have it running any more often than once every few days. Matt 0 Quote Link to comment Share on other sites More sharing options...
Sohan Posted September 13, 2008 Author Share Posted September 13, 2008 I'm getting one a minute. How do I stop it? 0 Quote Link to comment Share on other sites More sharing options...
arhost Posted September 13, 2008 Share Posted September 13, 2008 I'm getting one a minute. How do I stop it? Check your CRON settings. 0 Quote Link to comment Share on other sites More sharing options...
brianoz Posted September 14, 2008 Share Posted September 14, 2008 Your cron settings will be "* * * * *" (or something similar with a '*' in first position) ie run every minute. You need to change them to "5 1 * * 1" ie run on monday at 01:05am. You only need to run that job about weekly. 0 Quote Link to comment Share on other sites More sharing options...
Sohan Posted September 14, 2008 Author Share Posted September 14, 2008 wget -O/dev/null http://support.alloyhosting.com/cron/index.php - runs every 5 minutes (kayako) php -q /home/alloy/public_html/manage/admin/cron.php - once at midnight php -q /home/alloy/public_html/manage/modules/registrars/directi/directisync.php - every 6 hours and that's it. 0 Quote Link to comment Share on other sites More sharing options...
brianoz Posted September 14, 2008 Share Posted September 14, 2008 You probably have the wrong time setting in cron; I notice you posted the lines and your interpretation of the times, but not the actual time settings from cron. 0 Quote Link to comment Share on other sites More sharing options...
Operator Posted September 14, 2008 Share Posted September 14, 2008 wget -O/dev/null http://support.alloyhosting.com/cron/index.php - runs every 5 minutes (kayako) php -q /home/alloy/public_html/manage/admin/cron.php - once at midnight php -q /home/alloy/public_html/manage/modules/registrars/directi/directisync.php - every 6 hours and that's it. If your using cpanel click the unix style when looking at the cron settings and copy us the full line there 0 Quote Link to comment Share on other sites More sharing options...
Sohan Posted September 14, 2008 Author Share Posted September 14, 2008 0 Quote Link to comment Share on other sites More sharing options...
Operator Posted September 15, 2008 Share Posted September 15, 2008 Hi Sohan, It is as you say every 6 hours have you tried changing it to another time? every 6 hours is probably a little unnecessary for syncing domain scripts try changing it to something more like every 3 days if your still having an issue i would suggest opening a support ticket and getting matt to look as you shouldn't be getting domain sync emails every minute or so. 0 Quote Link to comment Share on other sites More sharing options...
Sohan Posted September 15, 2008 Author Share Posted September 15, 2008 Hi Sohan, It is as you say every 6 hours have you tried changing it to another time? every 6 hours is probably a little unnecessary for syncing domain scripts try changing it to something more like every 3 days if your still having an issue i would suggest opening a support ticket and getting matt to look as you shouldn't be getting domain sync emails every minute or so. When I checked in standard mode in cPanel, it said every minute, every hour but as you can see it didn't in advance mode. Should be fixed now I hope. 0 Quote Link to comment Share on other sites More sharing options...
brianoz Posted September 15, 2008 Share Posted September 15, 2008 In the first field, "*" means every minute, and "*/5" means every 5 minutes. The good news was that you were only running the job every minute for one hour every 6 hours Sounds like you're on top of it now though. Cron can be very confusing, my students often find it hard at first! 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.