CrazyLB Posted January 4, 2014 Share Posted January 4, 2014 Hello My cronjob executes every minute during one hour I don't know what is causing this and because of it my clients get 60 emails from WHMCS. Does someone here know what the problem could be? - Lucca 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted January 4, 2014 Share Posted January 4, 2014 isn't the cron job supposed to be run only once per day... not 60 times in one hour! You must configure the Cron Job to run once per day inside your hosting control panel for the automated actions to occur (if you didn't do it when advised during the installation process). http://docs.whmcs.com/Automation_Settings The cron must be configured to run no more than once per day. http://docs.whmcs.com/Crons 0 Quote Link to comment Share on other sites More sharing options...
CrazyLB Posted January 4, 2014 Author Share Posted January 4, 2014 I thought so too, i configured it to only run once per day, but it runs 60 times and I don't know why. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted January 4, 2014 Share Posted January 4, 2014 this must be an error in your cron setup on the server rather than anything to do with whmcs... have you been through the above crons link to check that your setup is correct? 0 Quote Link to comment Share on other sites More sharing options...
cpunation.com Posted June 6, 2015 Share Posted June 6, 2015 I had a similar issue. It was not a WHMCS issue. As the others have said it was a cron issue. Basically this was my cron setup before: * 2 * * * php -q /home/cpunat5/public_html/smgr/cron.php The first '*' represents minutes. Since it was a '*' the cron runs every minute for the whole hour. As a result, every morning I woke up to 60 emails. The solution is to set that first '*' to a 0, so it runs only the first time. Cron listing afterward: 0 2 * * * php -q /home/cpunat5/public_html/smgr/cron.php 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.