Jump to content

Receiving 2 Copies of Daily Cron sent to my email address


Recommended Posts

  • WHMCS Support Manager

Hi @Crashtest007,

Please review Utilities > Logs > Activity Log, do you see two sets of "Cron Job" entries per day?

If so, this behaviour indicates that the cron.php file is being triggered twice. Please ensure there is only one cron job touching the cron.php file on your server.

If not, you might have two administrator users sending emails to addresses which ultimately forward to the same mailbox.

Link to comment
Share on other sites

Hi John,

Β 

Thank you for your reply !

I am the only Administrator - So that rules out anyone else !

Β 

Below is the cron job for that day:

07/10/2018 21:00
Automated Task: Starting WHMCS Updates
System Β 
07/10/2018 13:08
Cron Job: Backup Complete
System Β 
07/10/2018 13:08
Cron Job: Email Backup - Sent Successfully
System Β 
07/10/2018 13:08
Cron Job: Backup Generation Completed
System Β 
07/10/2018 13:07
Cron Job: Starting Backup Zip Creation
System Β 
07/10/2018 13:07
Cron Job: Backup Database Dump Complete
System Β 
07/10/2018 13:00
Cron Job: Starting Backup Database Dump
System Β 
07/10/2018 13:00
Cron Job: Starting Backup Generation
System Β 
07/10/2018 13:00
Cron Job: Completed Daily Automation Tasks

Β 

Β 

The only other cron running is theΒ  "Job Activity"Β  and I only receive that email once. So I am unsure why I am receiving 2 x Zip files from the Backup Cron.

In Cpanel - I only have the Domain Sync and the Cron.php with the following settings: Β Β  */5 * * * * php -q /home/mydomainname/crons/cron.php

Β 

Regards,

Wayne

Link to comment
Share on other sites

@Crashtest007 it sounds like the cron may not be fully running, could you enable errors under Setup > General Settings > Other and then tick Display Errors & Log Errors then login to your servers terminal window and try running the following commandΒ 

php -q /home/mydomainname/crons/cron.php -F all -vvv

Check for any errors on the output and go into your admin area Utilities > Logs > Activity LogΒ to check for any errors, pop them in here and we can assist you further.

Link to comment
Share on other sites

Hi Chris,

Thank you!

Here is the Result of the Cron running in Terminal, BUT this is Not producing the System to send 2 x Backup Zip files ???

:


I have 2 Crons running in Cpanel - They are

domainsync.php - which works fine

and cron.php

So maybe the error is not in the Cron, from what I can see, neither of these 2 crons run a Backup. Sorry, I am not overly Tech minded. Maybe I need to be looking elsewhere and not in a Cron . Would that be correct? Or am I missing something?

Β 

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/26 [β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘]Β Β  0% < 1 sec/< 1 sec 22.0 MiB
Β Currency Exchange Rates
Β  1/26 [β–“β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘]Β Β  3% < 1 sec/< 1 sec 22.0 MiB
Β Product Pricing Updates
Β  2/26 [β–“β–“β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘]Β Β  7% < 1 sec/< 1 sec 22.0 MiB
Β Invoices
Β  3/26 [β–“β–“β–“β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘]Β  11% < 1 sec/< 1 sec 24.0 MiB
Β Late Fees
Β  4/26 [β–“β–“β–“β–“β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘]Β  15%Β  1 sec/7 secs 24.0 MiB
Β Credit Card Charges
Β  5/26 [β–“β–“β–“β–“β–“β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘]Β  19%Β  1 sec/5 secs 24.0 MiB
Β Invoice & Overdue Reminders
Β  6/26 [β–“β–“β–“β–“β–“β–“β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘]Β  23%Β  1 sec/4 secs 24.0 MiB
Β Domain Renewal Notices
Β  7/26 [β–“β–“β–“β–“β–“β–“β–“β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘]Β  26%Β  1 sec/4 secs 24.0 MiB
Β Cancellation Requests
Β  8/26 [β–“β–“β–“β–“β–“β–“β–“β–“β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘]Β  30%Β  1 sec/3 secs 26.0 MiB
Β Overdue Suspensions
Β  9/26 [β–“β–“β–“β–“β–“β–“β–“β–“β–“β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘]Β  34%Β  1 sec/3 secs 24.0 MiB
Β Overdue Terminations
Β 10/26 [β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘]Β  38%Β  1 sec/3 secs 24.0 MiB
Β Fixed Term Terminations
Β 11/26 [β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘]Β  42%Β  1 sec/2 secs 24.0 MiB
Β Inactive Tickets
Β 12/26 [β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘]Β  46% 2 secs/4 secs 24.0 MiB
Β Delayed Affiliate Commissions
Β 13/26 [β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘]Β  50% 2 secs/4 secs 24.0 MiB
Β Affiliate Reports
Β 14/26 [β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘]Β  53% 2 secs/4 secs 24.0 MiB
Β Email Marketer Rules
Β 15/26 [β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘]Β  57% 2 secs/3 secs 24.0 MiB
Β Credit Card Expiry Notices
Β 16/26 [β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘]Β  61% 2 secs/3 secs 24.0 MiB
Β Server Usage Stats
Β 17/26 [β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘]Β  65% 3 secs/5 secs 32.0 MiB
Β Overage Billing Charges
Β 18/26 [β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘]Β  69% 3 secs/4 secs 32.0 MiB
Β Client Status Update
Β 19/26 [β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘]Β  73% 3 secs/4 secs 32.0 MiB
Β Domain Expiry
Β 20/26 [β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–‘β–‘β–‘β–‘β–‘β–‘β–‘]Β  76% 3 secs/4 secs 32.0 MiB
Β Ticket Escalation Rules
Β 21/26 [β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–‘β–‘β–‘β–‘β–‘β–‘]Β  80% 4 secs/5 secs 32.0 MiB
Β Data Retention Pruning
Β 22/26 [β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–‘β–‘β–‘β–‘β–‘]Β  84% 4 secs/5 secs 32.0 MiB
Β WHMCS Updates
Β 23/26 [β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–‘β–‘β–‘β–‘]Β  88% 14 secs/16 secs 38.0 MiB
Β Run Jobs Queue
Β 24/26 [β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–‘β–‘β–‘]Β  92% 14 secs/15 secs 38.0 MiB
Β Domain Transfer Status Synchronisation
Β 25/26 [β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–‘β–‘]Β  96% 14 secs/15 secs 38.0 MiB
Β Domain Expiry Synchronisation
Β 26/26 [β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“] 100% 17 secs/17 secs 40.0 MiB


Β Sending Daily Cron Digest email

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

Β 3/4 [β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–‘β–‘β–‘β–‘β–‘β–‘β–‘]Β  75%Β  1 sec/1 secΒ  40.0 MiB

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