Jump to content

WHMCS Cron Not Completed


free

Recommended Posts

hello guys.

we have an problem with cron job running on our host.

as forced we must use of 5.4 php version. after upgrading our whmcs version cron jobs can't complete successfully.

 

cron email contents:

Starting
Running Pre-Cron Hooks
Starting Updating Currency Exchange Rates
- Done
Starting Updating Product Pricing for Current Exchange Rates
- Done
Starting Generating Invoices
Invoicing Loop Service ID 23 - 1 of 1567
Invoicing Loop Service ID 29 - 2 of 1567
Invoicing Loop Service ID 30 - 3 of 1567
Invoicing Loop Service ID 31 - 4 of 1567
Invoicing Loop Service ID 32 - 5 of 1567
Invoicing Loop Service ID 1414 - 670 of 1567
Invoicing Loop Service ID 1710 - 671 of 1567
Invoicing Loop Service ID 2210 - 672 of 1567
Invoicing Loop Service ID 1716 - 673 of 1567
Invoicing Loop Service ID 1953 - 674 of 1567
Invoicing Loop Service ID 2103 - 675 of 1567
Invoicing Loop Service ID 1724 - 676 of 1567
Invoicing Loop Service ID 1830 - 677 of 1567
Invoicing Loop Service ID 1945 - 678 of 1567
Invoicing Loop Service ID 1666 - 679 of 1567
Invoicing Loop Service ID 1670 - 680 of 1567
Invoicing Loop Service ID 1959 - 681 of 1567
Invoicing Loop Service ID 1708 - 682 of 1567
Invoicing Loop Service ID 1841 - 683 of 1567
Invoicing Loop Service ID 1963 - 684 of 1567
Invoicing Loop Service ID 2267 - 685 of 1567
Invoicing Loop Service ID 1674 - 686 of 1567
Invoicing Loop Service ID 1850 - 687 of 1567
Invoicing Loop Service ID 1936 - 688 of 1567
Invoicing Loop Service ID 2018 - 689 of 1567
Invoicing Loop Service ID 2044 - 690 of 1567
Invoicing Loop Service ID 1675 - 691 of 1567
Invoicing Loop Service ID 1852 - 692 of 1567
Invoicing Loop Service ID 1941 - 693 of 1567
Invoicing Loop Service ID 1872 - 694 of 1567
Invoicing Loop Service ID 1981 - 695 of 1567
Invoicing Loop Service ID 2123 - 696 of 1567
Invoicing Loop Service ID 2307 - 697 of 1567
Invoicing Loop Service ID 2171 - 698 of 1567
Invoicing Loop Service ID 2173 - 699 of 1567
Invoicing Loop Service ID 2172 - 700 of 1567
Invoicing Loop Service ID 2175 - 701 of 1567
Invoicing Loop Service ID 2174 - 702 of 1567
Invoicing Loop Service ID 2177 - 703 of 1567
Invoicing Loop Service ID 2180 - 704 of 1567
Invoicing Loop Service ID 2179 - 705 of 1567
Invoicing Loop Service ID 2176 - 706 of 1567
Invoicing Loop Service ID 2178 - 707 of 1567
Invoicing Loop Service ID 2181 - 708 of 1567
Invoicing Loop Service ID 2185 - 709 of 1567
Invoicing Loop Service ID 2182 - 710 of 1567
Invoicing Loop Service ID 2184 - 711 of 1567
Invoicing Loop Service ID 2186 - 712 of 1567
Invoicing Loop Service ID 2183 - 713 of 1567
Invoicing Loop Service ID 2191 - 714 of 1567
Invoicing Loop Service ID 2187 - 715 of 1567
Invoicing Loop Service ID 2190 - 716 of 1567
Invoicing Loop Service ID 2188 - 717 of 1567
Invoicing Loop Service ID 2189 - 718 of 1567
Invoicing Loop Service ID 2202 - 719 of 1567
Invoicing Loop Service ID 2203 - 720 of 1567
Invoicing Loop Service ID 2207 - 721 of 1567
Invoicing Loop Service ID 2215 - 722 of 1567
Invoicing Loop Service ID 2170 - 723 of 1567
Invoicing Loop Service ID 2169 - 724 of 1567
Invoicing Loop Service ID 2164 - 725 of 1567
Invoicing Loop Service ID 2166 - 726 of 1567
Invoicing Loop Service ID 2167 - 727 of 1567
Invoicing Loop Service ID 282 - 728 of 1567
Invoicing Loop Service ID 529 - 729 of 1567
Invoicing Loop Service ID 821 - 730 of 1567
Invoicing Loop Service ID 1354 - 731 of 1567
Invoicing Loop Service ID 1438 - 732 of 1567
Invoicing Loop Service ID 1536 - 733 of 1567
Invoicing Loop Service ID 286 - 734 of 1567
Invoicing Loop Service ID 849 - 735 of 1567
Invoicing Loop Service ID 716 - 736 of 1567
Invoicing Loop Service ID 1472 - 737 of 1567
Invoicing Loop Service ID 1793 - 738 of 1567
Invoicing Loop Service ID 2400 - 739 of 1567
Invoicing Loop Service ID 199 - 740 of 1567
Invoicing Loop Service ID 1369 - 759 of 1567
Invoicing Loop Service ID 1471 - 760 of 1567
Invoicing Loop Service ID 2004 - 761 of 1567
Invoicing Loop Service ID 2213 - 762 of 1567
Invoicing Loop Service ID 293 - 763 of 1567
Invoicing Loop Service ID 676 - 764 of 1567
Invoicing Loop Service ID 798 - 765 of 1567
Invoicing Loop Service ID 919 - 766 of 1567
Invoicing Loop Service ID 1109 - 767 of 1567
Invoicing Loop Service ID 1205 - 768 of 1567
Invoicing Loop Service ID 2253 - 769 of 1567
Invoicing Loop Service ID 294 - 770 of 1567
Invoicing Loop Service ID 295 - 771 of 1567
Invoicing Loop Service ID 451 - 772 of 1567
Invoicing Loop Service ID 298 - 773 of 1567
Invoicing Loop Service ID 458 - 774 of 1567
Invoicing Loop Service ID 551 - 775 of 1567
Invoicing Loop Service ID 1560 - 776 of 1567
Invoicing Loop Service ID 331 - 777 of 1567
Invoicing Loop Service ID 373 - 778 of 1567
Invoicing Loop Service ID 459 - 779 of 1567
Invoicing Loop Service ID 1320 - 780 of 1567
Invoicing Loop Service ID 301 - 781 of 1567
Invoicing Loop Service ID 416 - 782 of 1567
Invoicing Loop Service ID 571 - 783 of 1567
Invoicing Loop Service ID 1525 - 784 of 1567
Invoicing Loop Service ID 2242 - 785 of 1567
Invoicing Loop Service ID 182 - 786 of 1567
Invoicing Loop Service ID 1329 - 787 of 1567
Invoicing Loop Service ID 1642 - 788 of 1567
Invoicing Loop Service ID 1795 - 789 of 1567
Invoicing Loop Service ID 2054 - 790 of 1567
Invoicing Loop Service ID 174 - 791 of 1567
Invoicing Loop Service ID 377 - 792 of 1567
Invoicing Loop Service ID 1917 - 793 of 1567
Invoicing Loop Service ID 2008 - 794 of 1567
Invoicing Loop Service ID 2198 - 795 of 1567
Invoicing Loop Service ID 2328 - 796 of 1567
Invoicing Loop Service ID 2416 - 797 of 1567
Invoicing Loop Service ID 408 - 798 of 1567
Invoicing Loop Service ID 2007 - 799 of 1567
Invoicing Loop Service ID 2228 - 800 of 1567
Invoicing Loop Service ID 185 - 801 of 1567
Invoicing Loop Service ID 794 - 802 of 1567
Invoicing Loop Service ID 887 - 803 of 1567
Invoicing Loop Service ID 1496 - 804 of 1567
Invoicing Loop Service ID 284 - 805 of 1567
Invoicing Loop Service ID 1060 - 806 of 1567
Invoicing Loop Service ID 1244 - 807 of 1567
Invoicing Loop Service ID 1349 - 808 of 1567
Invoicing Loop Service ID 1727 - 809 of 1567
Invoicing Loop Service ID 1979 - 810 of 1567
Invoicing Loop Service ID 1554 - 811 of 1567
Invoicing Loop Service ID 513 - 812 of 1567
Invoicing Loop Service ID 1653 - 813 of 1567
Invoicing Loop Service ID 1173 - 814 of 1567
Invoicing Loop Service ID 1285 - 815 of 1567
Invoicing Loop Service ID 322 - 816 of 1567
Invoicing Loop Service ID 733 - 817 of 1567
Invoicing Loop Service ID 906 - 818 of 1567
Invoicing Loop Service ID 982 - 819 of 1567
Invoicing Loop Service ID 333 - 820 of 1567
Invoicing Loop Service ID 177 - 821 of 1567
Invoicing Loop Service ID 400 - 822 of 1567
Invoicing Loop Service ID 519 - 823 of 1567
Invoicing Loop Service ID 786 - 824 of 1567
Invoicing Loop Service ID 1633 - 825 of 1567
Invoicing Loop Service ID 1757 - 826 of 1567
Invoicing Loop Service ID 192 - 827 of 1567
Invoicing Loop Service ID 258 - 828 of 1567
Invoicing Loop Service ID 347 - 829 of 1567
Invoicing Loop Service ID 862 - 830 of 1567
Invoicing Loop Service ID 951 - 831 of 1567
Invoicing Loop Service ID 1061 - 832 of 1567
Invoicing Loop Service ID 1252 - 833 of 1567
Invoicing Loop Service ID 1348 - 834 of 1567
Invoicing Loop Service ID 1615 - 835 of 1567
Invoicing Loop Service ID 1809 - 836 of 1567
Invoicing Loop Service ID 338 - 837 of 1567
Invoicing Loop Service ID 1458 - 838 of 1567
Invoicing Loop Service ID 495 - 839 of 1567
Invoicing Loop Service ID 592 - 840 of 1567
Invoicing Loop Service ID 1203 - 841 of 1567
Invoicing Loop Service ID 1567 - 842 of 1567
Invoicing Loop Service ID 1714 - 843 of 1567
Invoicing Loop Service ID 1810 - 844 of 1567
Invoicing Loop Service ID 2384 - 845 of 1567
Invoicing Loop Service ID 353 - 846 of 1567
Invoicing Loop Service ID 910 - 847 of 1567
Invoicing Loop Service ID 332 - 848 of 1567
Invoicing Loop Service ID 405 - 849 of 1567
Invoicing Loop Service ID 1395 - 850 of 1567
Invoicing Loop Service ID 1508 - 851 of 1567
Invoicing Loop Service ID 1746 - 852 of 1567
Invoicing Loop Service ID 1983 - 853 of 1567
Invoicing Loop Service ID 2154 - 854 of 1567
Invoicing Loop Service ID 308 - 855 of 1567
Invoicing Loop Service ID 1989 - 856 of 1567
Invoicing Loop Service ID 2287 - 857 of 1567
Invoicing Loop Service ID 193 - 858 of 1567
Invoicing Loop Service ID 262 - 859 of 1567
Invoicing Loop Service ID 402 - 860 of 1567
Invoicing Loop Service ID 522 - 861 of 1567
Invoicing Loop Service ID 890 - 862 of 1567
Invoicing Loop Service ID 986 - 863 of 1567
Invoicing Loop Service ID 1120 - 864 of 1567
Invoicing Loop Service ID 1264 - 865 of 1567
Invoicing Loop Service ID 1412 - 866 of 1567
Invoicing Loop Service ID 1523 - 867 of 1567
Invoicing Loop Service ID 195 - 1558 of 1567
Invoicing Loop Service ID 1919 - 1559 of 1567
Invoicing Loop Service ID 186 - 1560 of 1567
Invoicing Loop Service ID 1005 - 1561 of 1567
Invoicing Loop Service ID 130 - 1562 of 1567
Invoicing Loop Service ID 964 - 1563 of 1567
Invoicing Loop Service ID 144 - 1564 of 1567
Invoicing Loop Service ID 1455 - 1565 of 1567
Invoicing Loop Service ID 1451 - 1566 of 1567
Invoicing Loop Service ID 1456 - 1567 of 1567
Invoicing Loop Addon ID 2 - 1 of 57
Invoicing Loop Addon ID 5 - 2 of 57
Invoicing Loop Addon ID 6 - 3 of 57
Invoicing Loop Addon ID 7 - 4 of 57
Invoicing Loop Addon ID 8 - 5 of 57
Invoicing Loop Addon ID 9 - 6 of 57
Invoicing Loop Addon ID 10 - 7 of 57
Invoicing Loop Addon ID 11 - 8 of 57
Invoicing Loop Addon ID 12 - 9 of 57
Invoicing Loop Addon ID 13 - 10 of 57
Invoicing Loop Addon ID 14 - 11 of 57
Invoicing Loop Addon ID 15 - 12 of 57
Invoicing Loop Addon ID 25 - 13 of 57
Invoicing Loop Addon ID 28 - 14 of 57
Invoicing Loop Addon ID 32 - 15 of 57
Invoicing Loop Addon ID 34 - 16 of 57
Invoicing Loop Addon ID 38 - 17 of 57
Invoicing Loop Addon ID 41 - 18 of 57
Invoicing Loop Addon ID 87 - 19 of 57
Invoicing Loop Addon ID 45 - 20 of 57
Invoicing Loop Addon ID 46 - 21 of 57
Invoicing Loop Addon ID 51 - 22 of 57
Invoicing Loop Addon ID 68 - 23 of 57
Invoicing Loop Addon ID 50 - 24 of 57
Invoicing Loop Addon ID 52 - 25 of 57
Invoicing Loop Addon ID 53 - 26 of 57
Invoicing Loop Addon ID 54 - 27 of 57
Invoicing Loop Addon ID 55 - 28 of 57
Invoicing Loop Addon ID 56 - 29 of 57
Invoicing Loop Addon ID 62 - 30 of 57
Invoicing Loop Addon ID 61 - 31 of 57
Invoicing Loop Addon ID 71 - 32 of 57
Invoicing Loop Addon ID 72 - 33 of 57
Invoicing Loop Addon ID 73 - 34 of 57
Invoicing Loop Addon ID 78 - 35 of 57
Invoicing Loop Addon ID 79 - 36 of 57
Invoicing Loop Addon ID 80 - 37 of 57
Invoicing Loop Addon ID 81 - 38 of 57
Invoicing Loop Addon ID 82 - 39 of 57
Invoicing Loop Addon ID 88 - 40 of 57
Invoicing Loop Addon ID 92 - 41 of 57
Invoicing Loop Addon ID 99 - 42 of 57
Invoicing Loop Addon ID 104 - 43 of 57
Invoicing Loop Addon ID 105 - 44 of 57
Invoicing Loop Addon ID 70 - 45 of 57
Invoicing Loop Addon ID 30 - 46 of 57
Invoicing Loop Addon ID 95 - 47 of 57
Invoicing Loop Addon ID 65 - 48 of 57
Invoicing Loop Addon ID 64 - 49 of 57
Invoicing Loop Addon ID 63 - 50 of 57
Invoicing Loop Addon ID 3 - 51 of 57
Invoicing Loop Addon ID 24 - 52 of 57
Invoicing Loop Addon ID 100 - 53 of 57
Invoicing Loop Addon ID 18 - 54 of 57
Invoicing Loop Addon ID 20 - 55 of 57
Invoicing Loop Addon ID 98 - 56 of 57
Invoicing Loop Domain ID 61 - 39 of 42
Invoicing Loop Domain ID 65 - 40 of 42
Invoicing Loop Domain ID 93 - 41 of 42
Invoicing Loop Domain ID 35 - 42 of 42
- 0 Invoices Created
Starting Applying Late Fees
- Late Invoice Fees added to 10 Invoices
Starting Processing Credit Card Charges
Starting Processing Invoice Reminder Notices

 

after adding late fee it seems stop or something that can't complete.

can you help us please?

 

thank you.

Link to comment
Share on other sites

  • WHMCS Support Manager

Hi,

If the cron always stops at the "Starting Processing Invoice Reminder Notices" stage, this might indicate a problem with those email templates. Please review Utilities > Logs > Activity Log at the time of the cron and look for any syntax errors.

 

It might also be worth reverting the Invoice Payment Reminder email template back to the default:

 

<p>Dear {$client_name},</p>
<p>This is a billing reminder that your invoice no. {$invoice_num} which was generated on {$invoice_date_created} is due on {$invoice_date_due}.</p>
<p>Your payment method is: {$invoice_payment_method}</p>
<p>Invoice: {$invoice_num}<br /> Balance Due: {$invoice_balance}<br /> Due Date: {$invoice_date_due}</p>
<p>You can login to your client area to view and pay the invoice at {$invoice_link}</p>
<p>{$signature}</p>

 

If it's stopping at different stages each day, then it's more likely a server-side limitation that's automatically killing the cron.php script for running for a particular length of time of using a certain amount of memory. That would be a matter for your server admin to investigate.

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