fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [13560] ignore time limit on cron


From: Sigurd Nes
Subject: [Fmsystem-commits] [13560] ignore time limit on cron
Date: Fri, 03 Jul 2015 11:55:49 +0000

Revision: 13560
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13560
Author:   sigurdne
Date:     2015-07-03 11:55:43 +0000 (Fri, 03 Jul 2015)
Log Message:
-----------
ignore time limit on cron

Modified Paths:
--------------
    trunk/phpgwapi/inc/class.asyncservice.inc.php

Modified: trunk/phpgwapi/inc/class.asyncservice.inc.php
===================================================================
--- trunk/phpgwapi/inc/class.asyncservice.inc.php       2015-07-03 08:38:32 UTC 
(rev 13559)
+++ trunk/phpgwapi/inc/class.asyncservice.inc.php       2015-07-03 11:55:43 UTC 
(rev 13560)
@@ -39,7 +39,7 @@
                /**
                * Constructor
                */
-               function asyncservice()
+               function __construct()
                {
                        $this->db =& $GLOBALS['phpgw']->db;
                        $this->cronline = PHPGW_SERVER_ROOT . 
'/phpgwapi/cron/asyncservices.php '.$GLOBALS['phpgw_info']['user']['domain'];
@@ -384,6 +384,7 @@
                */
                function check_run($run_by='')
                {
+                       @set_time_limit(0);             // dont stop for an 
execution-time-limit
                        flush();
                        $error = false;
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]