Jump to content

incomprehensible invoice generation by cron


netpro

Recommended Posts

Hello,

 

I have big problem with cron or system in general.

For some reason cron generates mass invoices no matter if due date for product is in future.

 

One certain case:

Entry on tblhosting table:

regdate	domain	paymentmethod	firstpaymentamount	amount	billingcycle	nextduedate	nextinvoicedate
2016-09-27	domainname.com	banktransfer	18.00	18.00	Annually	2017-09-27	2017-09-27

 

No if I execute cron, then it will generate next invoice for this entry with due date 2018-09-27 which is not expected result.

WHMCS settings for invoice generation before due date has been set to 14 days.

 

One other thing. I recently did clean install and Installed WHMCS 7 and then I used this ImportAssistant tool.

 

Is there anyone who have had same issue or maybe someone knows how this cron works - what are criterias for creating invoices?

 

Thanks in advanced!

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