Jump to content

Cron Timeout Issue / Splitting up Credit Card Batches


filetobackup

Recommended Posts

I am having a issue each month where all the Credit cards should auto charge on the first of the month but instead what has been happening is it will charge 10 customers on the 8/1 then 12 customers on 8/2 ,etc until all the customers that should be charge on 8/1 are charged. what also will happen is the last customer to get there Credit Card charged on 8/1 will then get charged again first on 8/2 i have figured out it is the Cron Job that must be either Timing out or erroring out. I also get a e-mail error on those days that it's not fully batching out, listed below. I am on the lastest Verison of WHMCS 5.3.8 i contacted tech support they check my logs said everything is fine and told me to remove my addon's which i remove them all but it still does the same thing, I tried increasing my PHP memory to 256 and increase the execution time to 1200 in php5.ini not sure how to change it in just whmcs. all those things do not seem to fix it does any one else have any ideas. right now i need to keep running my Cron Job and then voiding the duplicate Transactions.

 

Here is the e-mail cron Job error.

 

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

<html><head>

<title>500 Internal Server Error</title>

</head><body>

<h1>Internal Server Error</h1>

<p>The server encountered an internal error or

misconfiguration and was unable to complete

your request.</p>

<p>Please contact the server administrator

and inform them of the time the error occurred,

and the actions you performed just before this error.</p>

<p>More information about this error may be available

in the server error log.</p>

<hr>

 

Here are my settings

 

max_execution_time 300 1200

max_file_uploads 20 20

max_input_nesting_level 64 64

max_input_time 60 60

memory_limit 256M 256M

 

Thanks for your time

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