Frozen233 Posted December 10, 2020 Share Posted December 10, 2020 Hi, I wanted to send a mass-email to some of my customers. After creating the email campaign, it stays here: How long is it supposed to stay at 'Queued'? I've waited 10 minutes and it's not changed. The sending report shows no errors. Is there any way to force it to start? Thanks. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted December 10, 2020 Share Posted December 10, 2020 25 minutes ago, Frozen233 said: How long is it supposed to stay at 'Queued'? I've waited 10 minutes and it's not changed. The sending report shows no errors. it should be waiting for the next cron run to occur - so if you're running the cron hourly, then it should occur within the next hour; if you running the cron every 5 mins, then it should have already begun. 2 Quote Link to comment Share on other sites More sharing options...
Frozen233 Posted December 10, 2020 Author Share Posted December 10, 2020 Just now, brian! said: it should be waiting for the next cron run to occur - so if you're running the cron hourly, then it should occur within the next hour; if you running the cron every 5 mins, then it should have already begun. Indeed. Thanks! It worked after 30 minutes. 0 Quote Link to comment Share on other sites More sharing options...
m8internet Posted December 11, 2020 Share Posted December 11, 2020 (edited) I have the cron set to five minutes, but it can take up to two hours before it commences, then it sends them all WHMCS Support could not find anything causing the issue Edited December 11, 2020 by m8internet 0 Quote Link to comment Share on other sites More sharing options...
kamranonline Posted December 21, 2020 Share Posted December 21, 2020 Hi, Which cron task related to Email Campagins ? php crons/cron.php do --TASKNAME 0 Quote Link to comment Share on other sites More sharing options...
Durukan Bal Posted August 30, 2021 Share Posted August 30, 2021 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. 0 Quote Link to comment Share on other sites More sharing options...
Durukan Bal Posted August 30, 2021 Share Posted August 30, 2021 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 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.