Jump to content

Receiving multiple WHMCS Backup / Report emails


CCSupport

Recommended Posts

Hello all,

 

I have the CRON job running at 07:00 each day. Config is:

 

php -q /home/[i]username[/i]/public_html/[i]adminfolder[/i]/cron.php


*	7	*	*	*

 

The issue is that from 07:00 for a good while I am receiving many duplicate emails, into the hundreds. I have checked the WHMCS logs and sure enough it is filled with success CRON jobs for about an hour each morning! It looks like it's running it every minute for the hour rather than a single CRON job @ 07:00.

 

It was running fine until I received a number of updates for some PHP files from WHMCS Support, however I cannot be completely sure if this is linked or not.

 

Any ideas what this could be?

Link to comment
Share on other sites

php -q /home/[i]username[/i]/public_html/[i]adminfolder[/i]/cron.php


*	7	*	*	*

 

It looks like it's running it every minute for the hour rather than a single CRON job @ 07:00.

Because that's what you set it to do. The first field is "minute", and yours is set to fire for all 60 within the hour of 7, every day/month/weekday.

Set that first field to some number between 0 and 59 and that should fix it.

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