Jump to content

Search the Community

Showing results for tags 'Cron Job'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


WHMCS.Community

  • The latest WHMCS Release
    • V7.9 Beta Discussion
  • The Latest from the WHMCS Team
    • News & Announcements
    • The WHMCS Blog
  • WHMCS.Community
    • Community Announcements
    • Introduce Yourself
  • Using WHMCS
    • Pre-Sales Questions
    • Admin & Configuration Questions
    • Installation, Upgrade, and Import Support
    • Using WHMCS
    • Troubleshooting Issues
    • Vendor Discussions
  • WHMCS Beta Program
  • WHMCS Showcase
    • Showcase Your Site
    • Share Your Best Practices & Tips
  • Developing & Extending WHMCS
    • Third Party Add-ons
    • Service Offers & Requests
    • Developer Corner
    • Building Modules
    • Share Ideas for WHMCS Modules
  • Community Competitions
    • Competitions
  • General Discussions
    • General Discussion
  • General Feedback & Assistance
    • WHMCS.Community Tips & Tricks
  • Third Party Developers's Topics
  • Turkish International Discussions's Topics
  • Russian International Discussions's Topics
  • Spanish International Discussions's Topics
  • Portuguese International Discussions's Topics
  • French International Discussions's Topics
  • Italian International Discussions's Topics
  • German International Discussions's Topics
  • WHMCS Brasil's Topics
  • WHMCS Brasil's Tópicos
  • ModulesGarden Club's Topics
  • Hungarian International Discussions's Segítség
  • ThemeMetro Club's Topics
  • WHMCS Services Club's Topics
  • SwiftModders Club's Topics
  • WHMCS Global Services Club's Topics

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 10 results

  1. I've just recently updated to PHP 7.3 from 7.2 and I'm getting the following warning in System Health Status: Cron PHP Version Mismatch Your environment appears to be running a different PHP version (7.2.23) for the System Cron than the currently loaded PHP version (7.3.11). This may cause issues running your System Cron. This is the log for the System Health: WHMCS Health Check ================================================================================ error: * The system cron does not appear to have completed successfully within the last 24 hours. Check your activity logs or learn more about enabling the cron in our documentation. warning: * Your environment appears to be running a different PHP version (7.2.23) for the System Cron than the currently loaded PHP version (7.3.11). This may cause issues running your System Cron. notice: * Your PHP memory_limit value 1024M meets the recommended value of 128M. * - Your environment appears to meet the minimum requirements for Automatic Updates. To update, you will need to ensure you have at least 250MB of available disk space. * You are running MariaDB version 10.3.20. This version supports all features required for full compatibility with WHMCS. * A verified SSL certificate was detected for your site. * cURL reports that it does support Secure TLS 1.1 and 1.2 * cURL reports that it does support SSL * You currently have version 7.66.0 of cURL installed. This version uses a secure cipher list. * Your PHP environment uses a valid timezone. * PHP session support is enabled.Session autostart is disabled.The PHP session save path /var/cpanel/php/sessions/ea-php73/ is writable. * Your PHP installation has all required functions enabled for WHMCS to operate. * Your permissions are appropriately restrictive. * Your PHP installation has all recommended extensions loaded and enabled required by certain modules and addons of WHMCS. * Your PHP installation has all extensions loaded and enabled required for WHMCS to operate. * Your system is setup to not log unnecessary error levels. * Your system is not currently set to display errors. * Your PHP version 7.3.11 is supported by WHMCS. Your PHP version is actively supported by PHP for both bug fix and security releases. * Your WHMCS installation is using custom templates which will not be overwritten on upgrade. * You are using custom paths for all the recommended WHMCS directories. * Your SMTP settings are using encryption to ensure that sensitive data in email cannot be leaked in transit to your mail transport agent. debug: * Here are the paths for customisable directories in your WHMCS installation: - Attachments directory: /home/username/attachments - Downloads directory: /home/username/downloads - Compiled templates directory: /home/username/templates_c - Cron directory: /home/username/crons - Admin directory: /home/username/public_html/admin_folder All the cron seems to be running when i check the Activity log but I'm missing the daily WHMCS Cron Job Activity email:
  2. Firstly, there was multiple versions of PHP installed. This was due to installing LAMP and then installing another version over it that is compatible with WHMCS. Ubuntu V14... My cron is: */5 * * * * php -q /home/Companyname/Support.Foldername/crons/cron.php all >> /home/omitly/logfile.log 2>&1 The last bit is to log all the outputs to file for easier troubleshooting. PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/php_curl.dll' - /usr/lib/php/20151012/php_curl.dll: cannot op$ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/php_gd2.dll' - /usr/lib/php/20151012/php_gd2.dll: cannot open shared$ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/php_xmlrpc.dll' - /usr/lib/php/20151012/php_xmlrpc.dll: cannot open $ [WHMCS Application] ERROR: Whoops\Exception\ErrorException: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/php_xmlrpc.dll' - /usr$ <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Oops!</title> Not sure what to make of it all. Tried defining where to find PHP7.0 but that gives me weird errors asking for the wrong file locations for PHP extensions like curl and what not. I am using a custom location for the crons folder and have linked them on both ends to point to each other. I have tripple checked these. Does anyone have any ideas? WHMCS just says cron job has not been run in 24 hours - Warning. Cheers!
  3. Cron job of my WHMCS has stopped working, it executes but no automatic action is performed. I always receive an email with the following content: ============================== <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Oops!</title> <style> body { margin: 30px 40px; background-color: #f6f6f6; } .error-container { padding: 50px 40px; font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; font-size: 14px; } h1 { margin: 0; font-size: 48px; font-weight: 400; } h2 { margin: 0; font-size: 26px; font-weight: 300; } a { color: #336699; } p.back-to-home { margin-top: 30px; } p.debug{ padding: 20px 0px; font-family: "Courier New", Courier, monospace, serif; font-size: 14px; } .info { border: solid 1px #999; padding: 5px; background-color: #d9edf7; } </style> </head> <body> <div class="error-container"> <h1>Oops!</h1> <h2>Something went wrong and we couldn't process your request.</h2> <p>Please go back to the previous page and try again.</p> </div> </body> </html> ============================== When run cron force via command line showing same error: ================== php /home/billingw/crons/cron.php all --force -vvv WHMCS Automation Task Utility: all ================================== Daily Cron Automation Mode Queuing Tasks ------------- Force run any tasks: ignore "in progress" and "is due" Task queues ready Executing Application Queue --------------------------- 0/22 [░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 0% < 1 sec/< 1 sec 20.2 MiB Currency Exchange Rates Product Pricing Updates 2/22 [▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░] 9% < 1 sec/< 1 sec 20.2 MiB Invoices Late Fees 4/22 [▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░] 18% 2 secs/11 secs 21.0 MiB Credit Card Charges Invoice & Overdue Reminders <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Oops!</title> <style> body { margin: 30px 40px; background-color: #f6f6f6; } .error-container { padding: 50px 40px; font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; font-size: 14px; } h1 { margin: 0; font-size: 48px; font-weight: 400; } h2 { margin: 0; font-size: 26px; font-weight: 300; } a { color: #336699; } p.back-to-home { margin-top: 30px; } p.debug{ padding: 20px 0px; font-family: "Courier New", Courier, monospace, serif; font-size: 14px; } .info { border: solid 1px #999; padding: 5px; background-color: #d9edf7; } </style> </head> <body> <div class="error-container"> <h1>Oops!</h1> <h2>Something went wrong and we couldn't process your request.</h2> <p>Please go back to the previous page and try again.</p> </div> </body> ==================
  4. I am getting a daily report (Cron Job) from WHMCS about several task such as accounts suspensions, tickets, late fees added, etc., and also account that were recently terminated. The problem here is that If you take a look at this screenshot below, you will see 3 accounts were terminated, but If I click the button below in that email "view full summary" I am taken to a page within WHMCS were I can see the full summary information, but I don't have the way to see which accounts were recently terminated. How can I know which accounts were recently terminated? Screesnhot 1: https://gyazo.com/6193793208e93086a3453e3dd755374f screenshot 2: https://gyazo.com/fabb702160e6193ae610c5799fdc81aa
  5. I just updated from v5 to v6 last week and I found that for the past week no cron was running. I turned on emails in cron and this is what I found today as the response: <style>.genericError { border: 1px dashed #CC0000; font-family: Tahoma; background-color: #FBEEEB; padding: 10px; color: #CC0000; }</style> <div class="genericError"> <strong>Critical Error</strong><br /> Could not connect to the database. </div> My paths to cron are correct and I can run cron from SSH, so any idea what the database connect error means and how to fix it?
  6. CRON Job: How can I turn off automatic credit card charging? We are getting errors when this runs and the CRON job is not completing. Thanks in advance for any help.
  7. Hi friends. I've installed WHMCS 5.3.10, but there is a main problem on it (Although I had this problem in the previous versions). Cronjob stops working when it needs to send emails (New invoice, domain renewal reminder, unpaid invoices, etc.). So I have to do everything manually everyday. On the other hand, sending emails after customer's actions (registering new domains, ordering new hosting packages, etc.) does not have any problem and occur completely. Current memory_limit is 128MB and max_execution_time is 30 Please help me.
  8. Hello, I just recently switched from a competitor so I monitor how WHMCS works closely. Now I noticed (I did enable sync domains) a domain was automated renewed according the TLD requirements. Then the cron runs and updates the domain expire date to November 2015 but the bill has yet to be paid by the customer. Now it is to be expected that if the customer does pay his bill, the system is going to renew the domain at the registrar. Which results his domain will expire November 2016 at the registrar, then after the cron runs the expire date will get updated so he is not going to be billed next year? I am just trying to foresee things as I am new to WHMCS or am just to worried and need some more confident in this system? If I am correct in this matter, what are the best options to avoid this behavior? Should I just disable the cronjob that syncs domains? Why would such sync be in place at all if it causes such havoc in terms of renewals?
  9. numPhoenix

    Auto Credit not being applied

    For some reason Auto credit stopped working. I have enabled it and then disabled in order to see if it would update on cron. Credit has to be manually applied to invoices which have been generated.
  10. maknet

    Securing Cron.php

    After racking my brain for a bit, I found a previous thread (which I'm not allowed to respond to, since it's too old). http://forum.whmcs.com/showthread.php?17331-can-we-secure-cron-php I'm posting this in case anyone else had the same issues. My response is below. --- I got the same thing over here. Took a while to figure out why I was getting random cron jobs at odd hours. Who knows if it's actually Alexa or not. The IP address (174.129.228.67) is coming from Amazon (cloud?). I'd assume that if the server was malicious, it'd be shut down by now. My current plan is to just rename the cron.php and hope that will fix it.
×

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated