Jump to content

Stop emails from whmcs


Recommended Posts

Hi Everyone,


Does anyone know how to stop these emails please? I've tried to read about the cron flags but I do not know what goes where etc.

"WHMCS Domain synchronisation Cron Report"

"Domain Transfer Cron Status Report"

"Service Renewal Failed" (In terms of items that do not have a module attached). Instance we have our support packages which have no module as it's just support and website maintenance time that customers pay for.

 

Any help would be great please. 🙂

Here are my cronjobs. (i've starred out the personal info)

 

0 3 * * * php -q /home/***/****/crons/domainsync.php --email-report=[0]  
 
*/5 * * * * php -q /home/***/****/crons/pop.php --email-report=[0]  
 
*/5 * * * * php -q /home/***/****/crons/cron.php > /dev/null 2>&1
Link to comment
Share on other sites

I think now (if you are using the v7.6.x update) you no longer need the domainsync.php and pop.php cronjob as these are all handled by the crons.php task and I don't think that there is now a way to disable the report for each of the tasks.

I could however, be wrong.

Link to comment
Share on other sites

14 minutes ago, redit said:

I could however, be wrong.

I don't think you are...

and with regards to items that don't have a module attached, just assign them to AutoRelease.

https://docs.whmcs.com/Provisioning_Issues#Required_Product_Module_.27.27_Missing

Quote

This error message indicates that a module command was performed for a product to which no module is assigned. Please navigate to Setup > Products/Services > Products/Services > Edit > Module Settings tab and ensure the appropriate module is selected.

If the module selection has intentionally been left at None, then you may wish to consider using the Auto Release module instead. With the Auto Release module, WHMCS can open a support ticket or create a to-do list entry when a module command is performed to notify you that manual action is required.

 

Link to comment
Share on other sites

  • 3 weeks later...
  • WHMCS Support Manager

Hi @monsterit,

The pop.php cron job is still required. However it should not be sending a report to you each time it's triggered. This sounds like your crontab is configured to email the output to your address.

You can stop that one a per-cron basis by appending the following at the end:

>/dev/null 

There isn't an option to stop the Domain Synchronisation Report email. Personally I set up an email filter to move them into a folder and check occasionally for any errors.

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