Search the Community
Showing results for tags 'Cron'.
Found 41 results
-
I'm getting a cron job warning, but my logs don't show any issues. What's going wrong? Thanks in advanced!
-
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
-
1. Discover what our modules are up to! You can already view all previously uploaded advances and improvements at any time in our marketplace. What if you could also see what the next stages of development hide? This has just been made possible with the all-new section placed right next to the changelog. The implementation of Roadmap will show you that caring for customer engagement is one of the most important aspects taken into consideration at ModulesGarden. Want to know more and give the new feature a go? Continue reading on the ModulesGarden Blog! 2. Zendesk For WHMCS 2.4.0 You already know that we have a module in our offer that lets you include support tools powered by Zendesk into WHMCS and handle support tickets while bringing your clients unforgettable experience of customer care. Guess what - it’s just been updated with some fresh solutions! The description of the 2.4.0 update of Zendesk For WHMCS should start off with WHMCS users support - an addition which will send email notifications about the in-flow of new ticket replies to any user that participates in a conversation. Excited? Let us make you even more eager to give it a look. The latest version makes WHMCS user details fully synchronized with the Zendesk panel! See for yourself how easily you can up your customer service at an amazing 15% discount - give the changelog a thorough read! Read more about Zendesk For WHMCS 2.4.0! 3. Password Manager For WHMCS 3.0 - 25% OFF In the business landscape of today’s world, cyber security is a top priority. Safe and long passwords are a great start, however remembering complex keystroke combinations can be too much of a challenge sometimes. The answer to these concerns is here - Password Manager For WHMCS 3.0! The latest huge update introduces an overhauled user interface with a brand new look, as well as support for Lagom Client Theme and WHMCS "Twenty-One". This fabulous module for extended safety has already been flooded with positive reviews, so delve deeper into the subject and find out how we have elevated it to new heights! Read more about Password Manager For WHMCS 3.0! 4. PanelAlpha sets new trends in WordPress automation! Let us remind you of one more grand advancement - the next level in the development of our top-notch system for WordPress instances provisioning, PanelAlpha! The addition of Personal Hosting Toolkit will provide your clients with swift and painless control over their accounts by empowering them to handle domains, FTP accounts, DNS zones and more, all from the level of PanelAlpha. We all know how crucial a unique brand is nowadays. That’s why you will be able to customize the client area to fit yours however you desire with the Style Manager! Switch colors, enable shadows - from now on, you will be able to let out the inner artist. In fact, you can experience it right away via live demo, accessible at all times! Put theory into practice and see PanelAlpha in powerful action! Need Custom Software Development For Your Business? Get Your Free Quote Now! Specially for you we will adapt an application and its design to your own needs, create a new module or even a completely new system built from scratch!
-
- ModulesGarden
- Modules Garden
-
(and 27 more)
Tagged with:
-
Hi, I have created a separate folder for my cron jobs, following the WHMCS user guide for security, which it stated in the System Health Check area. It all changed fine, and the crons are running from the new folder, but when I go to enter the System Health Check area I get the following: League\Flysystem\Exception: Impossible to create the root directory "........./dashboard/cron_jobs". mkdir(): Permission denied in ........../dashboard/vendor/league/flysystem/src/Adapter/Local.php:112 Stack trace: #0 ..........dashboard/vendor/league/flysystem/src/Adapter/Local.php(78): League\Flysystem\Adapter\Local->ensureDirectory('p...') #1 ..........dashboard/vendor/whmcs/whmcs-foundation/lib/View/Admin/HealthCheck/ApplicationDirectory.php(0): League\Flysystem\Adapter\Local->__construct('p...') #2 ..........dashboard/vendor/whmcs/whmcs-foundation/lib/View/Admin/HealthCheck/HealthCheckRepository.php(0): WHMCS\View\Admin\HealthCheck\ApplicationDirectory->__construct('p...') #3 ..........dashboard/vendor/whmcs/whmcs-foundation/lib/View/Admin/HealthCheck/HealthCheckRepository.php(0): WHMCS\View\Admin\HealthCheck\HealthCheckRepository->newApplicationDirectory('p...') #4 ..........dashboard/vendor/whmcs/whmcs-foundation/lib/View/Admin/HealthCheck/HealthCheckRepository.php(0): WHMCS\View\Admin\HealthCheck\HealthCheckRepository->customizableDirectories() #5 ..........dashboard/vendor/whmcs/whmcs-foundation/lib/View/Admin/HealthCheck/HealthCheckRepository.php(0): WHMCS\View\Admin\HealthCheck\HealthCheckRepository->checkDirectoryCustomizations() #6 ..........dashboard/admin/systemhealthandupdates.php(0): WHMCS\View\Admin\HealthCheck\HealthCheckRepository->nonKeyChecks() #7 {main} Please, can anyone advise what I need to do? Many thanks
-
Hello, Is anybody able to assist with a issue I’m having with my WHMCS licence module. The WHMCS licence module is a module which automatically registers/creates WHMCS licences. The idea is that you could utilise the daily cron hook point to run some additional code to check every WHMCS licence addon’s check the next due date and cancel the license if it’s in the past. I don’t believe that this would be too difficult to code but I am not familiar with this. It would be greatly appreciated if somebody could code this for me. Thanks!
-
Hello. As far as I know the pricing in the domains are not updated automatically via cron, you have to update it each time automatically. Does WHMCS have any option to do so via cron or any special way? Thanks,
-
Hi there. After a long search in Google and this community, I didn't really able to find a clue on how to handle this, if there is a product which upgrade will incurs a full charge, rather than default prorated charge in WHMCS. Do you guys has any hints or workaround? Here's the full list of issues I am experiencing now, hope will get any help from you here. Thanks in advance. 1. What's the proper procedures to take, if there is a product/service renewal or upgrade will incurs a full charge rather than prorated according to remaining days? 2. When a product/service renewed (recurring auto CC charged or invoice paid), which hook or function in Addons/Provisions can use to trigger follow up actions? Like post an API request to principle for such renewal action. 3. When a Renewal button being click, either on Admin/Client Panel, it will triggers invoice and charge directly on client deposited funds if sufficient fund available. Which localAPI should I call? 4. I noticed if the Product/Service being created with recurring terms, for example monthly or annually, it will automatically triggered an invoice by WHMCS cron. Wish to know if there is sufficient fund in client account, will the cron direct credited its balance and send a paid invoice? Which hook should I use if the invoice send is a paid invoice? Best Regards, Nelson
-
Cron emails for domain sync even though not using this ?
spirog posted a topic in General Discussion
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 -
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.
- 2 replies
-
- automation
- Cron
- (and 4 more)
-
hello everyone i have 2 error in cron what should i do ?
-
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
-
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
-
action hook Auto-Terminate Free Trials After X Minutes
Kian posted a topic in Katamaze's Free Scripts
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 »- 1 reply
-
1
-
- trial
- automation
-
(and 1 more)
Tagged with:
-
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.
-
- invoice flow
- cron
-
(and 1 more)
Tagged with:
-
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.
-
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
-
- cron
- termination
-
(and 1 more)
Tagged with:
-
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.
- 4 replies
-
- hooks
- client details
-
(and 1 more)
Tagged with:
-
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
-
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!
-
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!
-
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> ==================
-
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.
-
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
-
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.