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


WHMCS.Community

  • The latest WHMCS Release
    • V7.8 Release 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

WHMCS Version

  • V7 Hotfixes
  • V7.1.x Hotfixes
  • V7.2.x Hotfixes
  • V7.3.x Hotfixes
  • V7.4.x Hotfixes
  • V7.5.x Hotfixes
  • V7.6.x Hotfixes
  • V7.7.x Hotfixes
  • V7.8.x Hotfixes

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 27 results

  1. 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
  2. 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.
  3. 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.
  4. Version 1.0.0

    7 downloads

    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.
  5. Version 1.0.0

    6 downloads

    An issue has been identified in the 7.1.0 release published on 14th December, 2016 that is affecting the cron when invoked with a do argument under certain conditions: [symfony\Component\Console\Exception\InvalidArgumentException] The helper "daily-cron" is not defined. The error is being triggered at the end of the cron routine and therefore any requested tasks will still have executed and do not need to be re-attempted. Note: This file is only applicable if you are running Version 7.1.0 or 7.1.1.
  6. CrunchyToast

    A couple dev questions

    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.
  7. 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
  8. 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!
  9. 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> ==================
  10. 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.
  11. 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
  12. 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.
  13. 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.
  14. 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?
  15. 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
  16. 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?
  17. 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?
  18. 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?
  19. Hello, My support tickets are not imported since I updated to v6.x. The cron returns a PHP fatal error. Nov 24 05:45:01 server1 CROND[28576]: (nginx) CMD (php -q /srv/whmcs/production/private/crons/pipe.php) Nov 24 05:45:01 server1 CROND[28576]: (nginx) CMD (php -q /srv/whmcs/production/private/crons/cron.php escalations) Nov 24 05:45:01 server1 CROND[28577]: (nginx) CMD (php -q /srv/whmcs/production/private/crons/pop.php) Nov 24 05:45:01 server1 CROND[28573]: (nginx) CMDOUT (POP Import Log) Nov 24 05:45:01 server1 CROND[28573]: (nginx) CMDOUT (Date: 24/11/2015 05:45:01) Nov 24 05:45:01 server1 CROND[28573]: (nginx) CMDOUT (---) Nov 24 05:45:01 server1 CROND[28573]: (nginx) CMDOUT (PHP Fatal error: Call to undefined function PhpImap\imap_search() in /srv/whmcs/production/public/vendor/php-imap/php-imap/src/PhpImap/Mailbox.php on line 174) Nov 24 05:45:01 server1 CROND[28573]: (nginx) CMDOUT (Host: pop.gmail.com<br>Email: support@brivelt.nl<br>) Nov 24 05:45:01 server1 CROND[28573]: (nginx) CMDOUT (Fatal error: Call to undefined function PhpImap\imap_search() in /srv/whmcs/production/public/vendor/php-imap/php-imap/src/PhpImap/Mailbox.php on line 174) Nov 24 05:45:01 server1 CROND[28574]: (nginx) CMDOUT (This file cannot be accessed directly) Any help would be appreciated. -Brian
  20. WHMCS v6.0.2 Ticket Importing using POP3 Import (Requires IMAP installed on server) */5 * * * * php -q /home/abv/public_html/ebill/crons/pop.php In my CPanel i have only 1 cron job: php -q /home/abv/public_html/ebill/admin/cron.php (Once a day) So my question is, to be able to import emails more frequently that are sent to support departments, should i add new cron job in CPanel using this command > */5 * * * * php -q /home/abv/public_html/ebill/crons/pop.php What does that */5 means ? Every 5min cron ? Is it smart and okey to use 2 cron jobs ?
  21. After I updated to ver 6, everything is working fine (invoices processed and emails sent, overdue invoice email reminders, etc.) One (the most important) cron task is not working: Credit Card Payments. Below is an excerpt from my system log on the day invoices should have been charged - you can see for that step it reports "0". I am using a Braintree payment gateway that worked fine prior to the update to WHMCS 6. Is there a more detailed log I can enable to find out what is happening? 2015/11/02 04:00 Cron Job: Sent 0 Reminders System 2015/11/02 04:00 Cron Job: Starting Processing Invoice Reminder Notices System 2015/11/02 04:00 Cron Job: Credit Card Payments Processed (0 Captured, 0 Failed) System 2015/11/02 04:00 Cron Job: Starting Processing Credit Card Charges System 2015/11/02 04:00 Cron Job: Late Invoice Fees added to 0 Invoices System 2015/11/02 04:00 Cron Job: Starting Applying Late Fees System 2015/11/02 04:00 Cron Job: 53 Invoices Created System 2015/11/02 04:00 Email Sent to Fatima Arshad (Customer Invoice) - User ID: 281 System
  22. Can't nail it down for sure, but I think in the recent upgrade from .12 to .13 our domain cron broke. We have it moved per the "further security steps" and has been running fine for years. Tried to manually run the cron (by scheduling it in the hosting control panel) and was not able to get it to run successfully. Moved it back into the main install and ran it manually by visiting the page and still the same issue. Enabled PHP errors in general > other and tried again, with nothing being output but a white page when it loads. WHMCS logs show the domain cron starting, but no steps are taken and it never completes. Anyone else ran into an issue like this?
  23. Hello, About 6 months ago we reported the automation features of WHMCS nightly Cron job is processing Hooks more than once. This was reported and confirmed as a Bug by the staff however the issue still continues and all our Hooks get processed two times per Cron run for many months. We were told this would be fixed shortly, but this issue still continues today. We did a search in the Bug area but could no longer find our old Bug post? Regards, Rdavis
  24. ocastaned

    Cron error

    I am receiving an email with invalid request error. The email shows this: Cron php -q /home/server/public_html/clientes/admin/cron.php And then the error message: [1011150] Invalid request IP: xxx.xx.xxx.xx Any idea what it could be?
  25. Hi, WHMCS 5.2.16 When the invoice is to be made via cron.php I not receiving any e-mail and will max made ​​two invoice, I run cron.php once again becomes a made ​​two invoice. so it will be many times I have to run the manualet when it is made ​​all invoice then there's e-mail again. Are there others who have experienced the same, and there are some who can help me?
×

Important Information

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