I'll start off with *i'm a n00b" i know next to nothing about PHP and i'm not even sure if i'm asking the right people in the right place. Really hope I'm not about to attract a heap of flak for bad forum etiquette but here we go:
I've researched as much as i can and i'm sure it's a PHP setting and have tried changing the max number of processes in the global PHP.ini file on the virtual server but to no avail.
I have a PHP script that was written by the folks at "simple invoices" I've set up cron daemon to run the script every day at a certain time.
The script is supposed to check all recurring invoices and if one is due to run that day it should process it.
There is around 40 invoices that should run on the first of every month, what actually happens is the script runs everyday (as it should), gets through the first 25 items and just cuts out. It then emails me telling me:
I logged in as the VPS root and sudo su to change the global php.ini but i'm not sure if i've edited the right PHP.ini file (i did run a info.php from the site to get the path to the one being used). It's also running PHP as a module (hope that makes sense).
Any help would be greatly appreciated. Even if it's just telling me i'm in the wrong place and where to ask next.
I've researched as much as i can and i'm sure it's a PHP setting and have tried changing the max number of processes in the global PHP.ini file on the virtual server but to no avail.
I have a PHP script that was written by the folks at "simple invoices" I've set up cron daemon to run the script every day at a certain time.
The script is supposed to check all recurring invoices and if one is due to run that day it should process it.
There is around 40 invoices that should run on the first of every month, what actually happens is the script runs everyday (as it should), gets through the first 25 items and just cuts out. It then emails me telling me:
Code:
<?xml version="1.0" encoding="ISO-8859-1"?> <array>
<cron_message>No invoices recurred for this cron run for domain: 1 for the date: 2016-12-02</cron_message>
<cron_message_52>Cron ID: 52 NOT RUN: - Not cheduled for today - Cron for Invoice 2423 with start date of 2017-11-01, end date of where it runs each 1 year did not recur today :: Info diff=-334</cron_message_52>
<cron_message_51>Cron ID: 51 NOT RUN: Cron for Invoice 2418 with start date of 2016-12-01, end date of where it runs each 1 month did not recur today :: Info diff=1</cron_message_51>
<cron_message_50>Cron ID: 50 NOT RUN: - Not cheduled for today - Cron for Invoice 2410 with start date of 2017-10-01, end date of where it runs each 1 year did not recur today :: Info diff=-303</cron_message_50>
<cron_message_49>Cron ID: 49 NOT RUN: - Not cheduled for today - Cron for Invoice 2057 with start date of 2017-02-26, end date of where it runs each 1 year did not recur today :: Info diff=-86</cron_message_49>
<cron_message_48>Cron ID: 48 NOT RUN: Cron for Invoice 1930 with start date of 2016-11-25, end date of where it runs each 1 year did not recur today :: Info diff=7</cron_message_48>
<cron_message_47>Cron ID: 47 NOT RUN: - Not cheduled for today - Cron for Invoice 2397 with start date of 2017-10-01, end date of where it runs each 1 year did not recur today :: Info diff=-303</cron_message_47>
<cron_message_46>Cron ID: 46 NOT RUN: - Not cheduled for today - Cron for Invoice 2338 with start date of 2017-09-03, end date of where it runs each 1 year did not recur today :: Info diff=-275</cron_message_46>
<cron_message_45>Cron ID: 45 NOT RUN: - Not cheduled for today - Cron for Invoice 2306 with start date of 2017-08-08, end date of where it runs each 1 year did not recur today :: Info diff=-249</cron_message_45>
<cron_message_44>Cron ID: 44 NOT RUN: Cron for Invoice 2282 with start date of 2016-09-01, end date of where it runs each 1 month did not recur today :: Info diff=92</cron_message_44>
<cron_message_43>Cron ID: 43 NOT RUN: Cron for Invoice 1920 with start date of 2016-11-01, end date of where it runs each 1 year did not recur today :: Info diff=31</cron_message_43>
<cron_message_42>Cron ID: 42 NOT RUN: Cron for Invoice 2054 with start date of 2016-02-01, end date of where it runs each 1 year did not recur today :: Info diff=305</cron_message_42>
<cron_message_41>Cron ID: 41 NOT RUN: Cron for Invoice 2060 with start date of 2016-03-01, end date of where it runs each 1 year did not recur today :: Info diff=276</cron_message_41>
<cron_message_40>Cron ID: 40 NOT RUN: Cron for Invoice 2237 with start date of 2016-07-01, end date of where it runs each 1 year did not recur today :: Info diff=154</cron_message_40>
<cron_message_39>Cron ID: 39 NOT RUN: Cron for Invoice 2170 with start date of 2016-05-01, end date of where it runs each 1 year did not recur today :: Info diff=215</cron_message_39>
<cron_message_38>Cron ID: 38 NOT RUN: Cron for Invoice 1850 with start date of 2016-09-01, end date of where it runs each 1 year did not recur today :: Info diff=92</cron_message_38>
<cron_message_37>Cron ID: 37 NOT RUN: Cron for Invoice 2059 with start date of 2016-03-01, end date of where it runs each 1 year did not recur today :: Info diff=276</cron_message_37>
<cron_message_36>Cron ID: 36 NOT RUN: Cron for Invoice 1887 with start date of 2016-10-01, end date of where it runs each 1 year did not recur today :: Info diff=62</cron_message_36>
<cron_message_35>Cron ID: 35 NOT RUN: Cron for Invoice 2061 with start date of 2016-03-01, end date of where it runs each 1 year did not recur today :: Info diff=276</cron_message_35>
<cron_message_34>Cron ID: 34 NOT RUN: Cron for Invoice 1968 with start date of 2016-12-01, end date of where it runs each 1 year did not recur today :: Info diff=1</cron_message_34>
<cron_message_33>Cron ID: 33 NOT RUN: Cron for Invoice 2176 with start date of 2016-05-01, end date of where it runs each 1 year did not recur today :: Info diff=215</cron_message_33>
<cron_message_32>Cron ID: 32 NOT RUN: - Not cheduled for today - Cron for Invoice 2089 with start date of 2017-03-01, end date of where it runs each 1 year did not recur today :: Info diff=-89</cron_message_32>
<cron_message_31>Cron ID: 31 NOT RUN: Cron for Invoice 1865 with start date of 2016-09-01, end date of where it runs each 1 year did not recur today :: Info diff=92</cron_message_31>
<cron_message_30>Cron ID: 30 NOT RUN: Cron for Invoice 1860 with start date of 2016-09-01, end date of where it runs each 1 year did not recur today :: Info diff=92</cron_message_30>
<cron_message_29>Cron ID: 29 NOT RUN: Cron for Invoice 2212 with start date of 2016-07-07, end date of where it runs each 2 week did not recur today :: Info diff=148</cron_message_29>
<cron_message_28>Cron ID: 28 NOT RUN: Cron for Invoice 2213 with start date of 2016-07-07, end date of where it runs each 2 week did not recur today :: Info diff=148</cron_message_28>
<id>0</id>
</array>
Any help would be greatly appreciated. Even if it's just telling me i'm in the wrong place and where to ask next.
Last edited by a moderator: