Jump to content

Email Campaign showing Queued and Stuck


Recommended Posts

  • 6 months later...
3 hours ago, Durukan Bal said:

Hello,


When I ran the code below on my server, I saw that it was sending emails. Here are the sources.

 

php -q /home/username/public_html/crons/cron.php do --EmailCampaigns

 

https://docs.whmcs.com/Crons

Best Regards.

 
I did development, adding the commands separately is more efficient

php -q /home/username/public_html/crons/cron.php do --EmailCampaigns >/dev/null 2>&1

php -q /home/username/public_html/crons/cron.php do --ProcessEmailQueue >/dev/null 2>&1

 

You can see the operations in detail by adding the -vvv parameter to the end of the commands. Example php -q /home/username/public_html/crons/cron.php do --ProcessEmailQueue -vvv

 
Link to comment
Share on other sites

  • 1 year later...
  • 6 months later...
  • 1 month later...
  • 9 months later...

Tried both:

php -q /home/username/public_html/crons/cron.php do --EmailCampaigns >/dev/null 2>&1
php -q /home/username/public_html/crons/cron.php do --ProcessEmailQueue >/dev/null 2>&1

.. and didn't get any results.

 

Then pushed all with (1 time use of):

php -q /home/username/public_html/crons/cron.php do --ProcessEmailQueue all -F -vvv

 

This moved the needle 🙂

.. now the whmcs has started sending out email campaign.

 

reference: https://help.whmcs.com/a/683269

 

----

 

It took a while for it to complete fully, this was the output:

 

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
---------------------------

 
 Currency Exchange Rates
 
 Product Pricing Updates
 
 Tenant Usage Metrics
 
 Invoices
 
 Late Fees
 
 Credit Card Charges
 
 Invoice & Overdue Reminders
 
 Domain Renewal Notices
 
 Cancellation Requests
 
 Overdue Suspensions
 
 Overdue Terminations
 
 Fixed Term Terminations
 
 Overdue Invoice Cancellations
 
 Inactive Tickets
 
 Prune Ticket Attachments
 
 Delayed Affiliate Commissions
 
 Affiliate Reports
 
 Process Email Campaigns
 
 Process Email Queue
 
 Email Marketer Rules
 
 SSL Sync
 
 Credit Card Expiry Notices
 
 Server Usage Stats
 
 Overage Billing Charges
 
 Client Status Update
 
 Domain Expiry
 
 Ticket Escalation Rules
 
 Data Retention Pruning
 
 SSL Certificate Reissues
 
 Update Server Usage
 
 Update Server Meta Data
 
 Run Jobs Queue
 
 WHMCS Updates
 
 Domain Transfer Status Synchronisation
 
 Domain Status Synchronisation

 Sending Daily Cron Digest email

Executing System Queue
----------------------

 [OK] Completed
Edited by HostMaria
added output
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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