ManagedCloud-Hosting Posted November 20, 2020 Share Posted November 20, 2020 Hi Everyone Facing a strange problem which I have never faced using WHMCS, Screen Shots below - I hope you can help me guys...thanks. ---------------------------------------- ERROR - Daily Cron Completing - The last recorded successful end time is 2020-10-17 15:01:09. Please refer to our troubleshooting guide for details regarding how to identify the problem preventing daily cron completion. Learn more... ---------------------------------------- 1. 2. 3. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Technical Analyst II WHMCS SamP Posted November 20, 2020 WHMCS Technical Analyst II Share Posted November 20, 2020 Hi! To debug the cron job, please follow our instructions at https://docs.whmcs.com/Cron_Job_Issues#Run_the_cron_job_from_the_server_command_line_with_debugging_enabled Other relevant documentation:https://help.whmcs.com/m/automation/l/678272-troubleshooting-the-cron-not-completinghttps://help.whmcs.com/m/automation/l/683269-advanced-cron-troubleshooting 0 Quote Link to comment Share on other sites More sharing options...
ManagedCloud-Hosting Posted November 20, 2020 Author Share Posted November 20, 2020 I will try and inform here, Thank you @WHMCS SamP 0 Quote Link to comment Share on other sites More sharing options...
ManagedCloud-Hosting Posted November 21, 2020 Author Share Posted November 21, 2020 We tried running the below command and received the following error message, how to resolve this ? Help me please, thanks. php -q /home/****/billing.****/crons/cron.php all --force -vvv Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 69632 bytes) in /home/****/billing.****/vendor/composer/ClassLoader.php on line 444 Whoops\Exception\ErrorException: Allowed memory size of 33554432 bytes exhausted (tried to allocate 69632 bytes) in /home/****/billing.****/vendor/composer/ClassLoader.php:444 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Technical Analyst II WHMCS Stephen Posted November 21, 2020 WHMCS Technical Analyst II Share Posted November 21, 2020 Hello @VirtualWorldGlobal, Thanks for the deatailed error report. The error "Allowed memory size of 33554432 bytes exhausted" indicates that the PHP version you are using in shell currently has a PHP memory_limit value of 32M which does not meet the WHMCS requirements. Please raise this to the minimum 64M or the recommended 128M to resolve this error. For your reference https://docs.whmcs.com/System_Requirements 0 Quote Link to comment Share on other sites More sharing options...
ManagedCloud-Hosting Posted November 21, 2020 Author Share Posted November 21, 2020 Hi @WHMCS Stephen This was resolved immediately once the value was increased... Thanks 0 Quote Link to comment Share on other sites More sharing options...
yggdrasil Posted November 21, 2020 Share Posted November 21, 2020 3 hours ago, VirtualWorldGlobal said: Hi @WHMCS Stephen This was resolved immediately once the value was increased... Thanks 128MB is the default with PHP I think, not sure why you had it set to lower. 0 Quote Link to comment Share on other sites More sharing options...
ManagedCloud-Hosting Posted November 21, 2020 Author Share Posted November 21, 2020 Hi @yggdrasil It was not set to lower but after migration suddenly to another server we faced this issue. Never happened since 2011 so I got confused...Thanks to @WHMCS Team who responded promptly and we were able to fix the issue...immediately! I will take the opportunity to say Thanks to all community members and leaders who are actively share their skill and knowledge so that other members like me with little or no knowledge can benefit from it. @brian! who has helped me so much by offering guidance on setting up my WHMCS install by understanding my requirement...Pro bono @Kian who keeps on posting free hooks that benefits many community members like me... Thank you everyone :) 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.