Jump to content

Search the Community

Showing results for tags 'Cron'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • The latest WHMCS Release
  • WHMCS Beta Program
    • WHMCS Mobile App Technical Preview Feedback
  • The Latest from the WHMCS Team
    • News, Announcements & Blogs from WHMCS
  • 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 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
    • Feedback
    • 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
  • Katamaze's Free Scripts
  • Katamaze's Modules
  • Zomex Club's Topics
  • 0100Dev Club's Topics

WHMCS Version

  • V8.1.x Hotfixes
  • V8.0.x Hotfixes
  • V7.10.x Hotfixes
  • V7.9.x Hotfixes

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



About Me

Found 35 results

  1. How do I turn off these emails or stop this actual cron from running I get email every 4-6 hours. But I’m not using the domain sync Domain Synchronisation Cron Report for 03-06-2021 16:35:02Active Domain Syncs is there a way to turn this off or somehow to stop receiving these emails. I’m just using whmcs for now for support and service products. Installations of a script and server setups etc. not selling domains or hosting thanks for any advice how to stop the emails and or this specific cron from running kind regards Spiro
  2. I have two accounts that don't have a credit card on file. (They were lost during a migration somehow). And I don't know what's causing those accounts to be delivered an email EVERY day that says "We tried to bill your card but you don't have one on file." What is the setting that's causing this? The only things I suspect are 2 settings in automation. 1. "Retry every week for..." was set to 0 (but I thought that meant disable not every day. 2. The "Send invoice payment reminder" for 2nd and 3rd were both set to 0 also. But those specifically say 0 to disable. I don't feel like either of those should behave that way though.
  3. hello everyone i have 2 error in cron what should i do ?
  4. Hi! I'm getting several emails a day from my installation giving the 'Domain Synchronisation Cron' Report. And even for the transfers a sperate one. How can I disable these? It's very annoying
  5. I noticed that since I updated my whmcs to 8.0.4, my cron job has not been working effectively. It's scheduled to run every 5 minutes but its been running every 24 hours. It's as if there is a script in the cron.php that is making it run every 24 hours but I don't know which and what. I'll appreciate any help
  6. Hello, The cron task needs 20-40 minutes a day to be executed. (During cron running time, 502 errors may occur for any operation) How should I optimize it? Please advise Thanks
  7. Free trials for a limited period is a good marketing strategy to capitalize on the leads you get. The problem with trials is that the smallest unit of time for WHMCS is the day meaning that for example you can't provide a trial for VPS that last for a couple of hours. WHMCS can't "think" for a period of less than a full day. The following action hook allows to automatically terminate the given products/services after a certain number of minutes. It runs AfterCronJob hook point that normally triggers once every 5 minutes. Visit Setup > Automation Settings and make sure that cron.php runs every 5 minutes as suggested by WHMCS. The hook will do the rest. It also logs terminations in Activity Log. Get the Code »
  8. If I want to test the invoicing flow for several months later, how the correct way to move forward the date and what should I do with whmcs system itself? Maybe I just need change the server date to the specific event date and run the whmcs cron or I need move the server date day-by-day with whmcs cron run. Which one is correct ? Or maybe there's a better way to do that, please advice. Thanks.
  9. I need to manually invoke the server usage checking (overuse) on our shared server to troubleshoot a Virtualmin issue whereby Virtualmin usage statistics and WHMCS usage statistics are completely mismatches (or just missing). I note in the manual a command: php -q /home/folder/public_html/crons/cron.php all -F -vvv https://docs.whmcs.com/Cron_Job_Issues#Run_the_cron_job_from_the_server_command_line_with_debugging_enabled This command runs "all" the 27 tasks. However, I just need it to run for "Server Usage Stats". Is this possible? Is there some other way? I'm scared to run it for "all" because I'm afraid I'll generate invoices alerting my clients to problems in our system.
  10. Since 7.7 I'm getting email alerts several times a day for transfer and expiration day syncs. Can disable these emails? I like having it going but I don't need messages each time it runs.
  11. An issue has been identified in the 7.5.0 release - published on 2nd April, 2018 - that causes overdue terminations not being processed by the daily automation task. This results in services being left suspended. This was caused by a syntax error in the relevant query. Workaround Services can be manually terminated by clicking the "Terminate" Module Command button on the corresponding service details page. Resolution We are releasing a hot-fix patch which resolves the underlying issue. Applying the HotFix To apply the fix, download the zip file from the link below. Extract the contents and upload to your whmcs directory overwriting the existing files. CORE-12228-cron-not-terminating-services.zip Note: This file is only applicable if you are running Version 7.5.0
  12. Hey everyone, Working on a few different modules and had a couple questions. Is there an action hook that allows you to run a cron job every time the WHMCS is called? For example, my WHMCS cron file runs every 5 minutes. Is there a hook or a way I could have a custom hook or script run every time the actual cron runs? All the hooks I see currently only run once a day. Is there a way to add another tab to the client detail page in the admin panel via hook or another method without having to customize the template? Thank you ahead of time.
  13. I recently installed WHMCS on a VPS running Plesk and had some issues configuring Cron. the suggested cron command was */5 * * * * php -q /var/www/vhosts/MYDOMAIN/whmcs/crons/cron.php However this invokes the CLI version of php installed on the server and failed with the complaint that the ioncube loader version was incorrect and could not decode the cron file. The domain where WHMCS is installed is running php 7 but the cli php on the server itself is stuck at version 5.3 and upgrade not available in the yum repositories for centos6. Altering the cron command to point at the correct php binary in use of the domain resolved the issue /opt/plesk/php/7.0/bin/php -q /var/www/vhosts/MYDOMAIN/whmcs/crons/cron.php You also need to set the /path/to/WHMCS/ in the config in the crons directory Hope this helps other Plesk users to get their configuration working
  14. I'm having a System Health Warning towards cron. Our WHMCS (7.2.3) was pre-installed with softaculous. Here are the warnings below: Here is the cron set up in cPanel(username was replaced for security: */5 * * * * php -q /home/username/whmcsdata/crons/cron.php */5 * * * * php -q /home/username/whmcsdata/crons/pop.php 0 3 */2 * * php -q /home/username/whmcsdata/crons/domainsync.php Thanks!
  15. 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!
  16. 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> ==================
  17. Don't waste time searching for a problem that has already been fixed! If your daily WHMCS internal CRON (for daily automated actions) wasn't working correctly--maybe due to the upgrade process falling within the window of when that CRON is to fire--you might start getting more frequent than hourly emails with the subject: "WHMCS Daily System Cron Attention Needed". If you are fairly certain that your setup is actually working try setting: WHMCS->Setup->Automation Settings->Scheduling->Time of Day either permanently or temporarily to the next hour (so, if it is 9:38PM set it to 10PM) wait until 11PM and this may possibly clear up that erroneous, buggy, dunning message that doesn't really check if something is still wrong! If that doesn't do it then you might proceed with what @WHMCS ChrisD suggests here: WHMCS Daily System Cron Attention Needed. We wasted a good bit of time (luckily we had taken a snapshot) unsetting features and trying to divine what was wrong in the complete absence of any detail about what needs attention. There was no detail, as there was no problem, just a buggy WHMCS. Yes, we have reported this as a bug.
  18. We use the pop cron to generate support tickets and it's set to run every 5 mins, however I wont see new tickets for at least 15-20 mins it seems - maybe longer. I've checked the cron job and it seems fine. Any suggestions on where else I might take a look? Thanks
  19. I'm getting the following (email response) error when I try to run the automated cron: My web host confirmed that my ionCube Loader was properly installed. PHP 5.6.29 (cli) (built: Jan 11 2017 17:04:20) Copyright (c) 1997-2016 The PHP Group Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v5.1.1, Copyright (c) 2002-2016, by ionCube Ltd. They thought there might be an error with the /crons/cron.php file, though it is "ioncube encoded" so they were unable to view the code. This is the command I'm running in my cron: */5 * * * * php -q /home/[account]/[folder]/crons/cron.php When i run this in the command line it works just fine: php -q /home/[account]/[folder]/crons/cron.php I am running a VPS on LiquidWeb server and my WHMCS is version 7.1.1. I read threads where people added "/opt/php56/bin/php" to the cron job, but I don't have /php56/ in my /opt/ folder. Thank you in advance for your help.
  20. If I want the cron not to process credit cards every day is this the right command? /cron.php skip --ProcessCreditCardPayments Thank you in advance for any help here.
  21. I have WHMCS v6.3, As this was provided by my hosting company I can only update trough Softaculous but no longer see update 6.3.1 since v7 come out. Because of that I'm not sure if updating to 6.3.1 would fix my problem. PROBLEM: All of the sudden one of the crons stopped working (Domain Sync) and I have also stopped receiving emails with this cron. All other crons working without problem. I can see in Activity logs: "Domain Sync Cron: Starting" but nothing is happening after. How can I trace root of the problem?
  22. Hello everyone, we have a very strange issue, ill do my best to describe it. The thing is, our cron.php is not working, everything it should do is not happening. We already have searched for logs, but we´re not able to find them. The only thing we have found out is, that there is the following mysql error: "mysql error to many connections" It would be very nice if someone could tell us where to begin with searching for the issue. Thanks
  23. 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?
  24. What is the different between crons/crons.php and admin/crons.php? I have them both running, and now im getting duplicate line items in invoices. Trying to figure if it's connected. Are they both necessary?
  25. Does the quota increase typically upgrade immediately? How do I offer "upgrade" disk space for shared hosting client? Is it better to offer disk space as "product addon"? I thought I had this all correct, I even scoured the documentation. One thing that isnt clear, is the "Group Name"...does that have to match "Disk Space". It looked as though if the configurable option "Disk Space" isn't being used than the server wouldn't automatically upgrade space. Anyhoos... Setup > Configurable Option Groups I created a group name called "SSD Space" and assigned it to my Hosting Products. I added a new configurable option called "Disk Space" using option type "Radio" and created some options, like: 3072MB|3GB 5120MB|5GB 10240MB|10GB After punching in some prices I created a promo code to do some testing. Ooo and also, I made sure my Products/Services "upgrades" tab had the "Configurable Options" Checkbox "Tick this box to allow Upgrading/Downgrading of configurable options" Under Utilities > Log > System Activity Log I see that cron jobs are being complete. -- misc Client Profile > Products / Services > Disk Space displays correctly but..... displays incorrect quota size order form template = Order Form Template setup > automation > Update Usage Statistics = checked in the WHM admin area, the List Accounts > Quota table column doesn't display updated request. I referred to this post, for some guidance, it was helpful. http://forum.whmcs.com/showthread.php?107438-Cannot-upgrade-downgrade-config-option-from-customer-portal&highlight=configurable+option+upgrade+after+order - - - Updated - - - btw, I don't have a new / separate package in WHM that is duplicated with only the disk space customized. do i need to duplicate each package, and then tweak the disk space option?
  • Create New...

Important Information

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