phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: phpgwapi/cron asyncservices.php,1.1.2.2,1.1.2.3


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/cron asyncservices.php,1.1.2.2,1.1.2.3
Date: Sun, 01 Jun 2003 05:17:31 -0400

Update of /cvsroot/phpgroupware/phpgwapi/cron
In directory subversions:/tmp/cvs-serv21336

Modified Files:
      Tag: Version-0_9_16-branch
        asyncservices.php 
Log Message:
added administration interface to the new async-services


Index: asyncservices.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/cron/asyncservices.php,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -C2 -r1.1.2.2 -r1.1.2.3
*** asyncservices.php   26 Apr 2003 16:39:15 -0000      1.1.2.2
--- asyncservices.php   1 Jun 2003 09:17:29 -0000       1.1.2.3
***************
*** 25,29 ****
  
        $path_to_phpgroupware = '../..';        // need to be adapted if this 
script is moved somewhere else
!       $GLOBALS['domain'] = 'default';
  
        $GLOBALS['phpgw_info']['flags'] = array(
--- 25,29 ----
  
        $path_to_phpgroupware = '../..';        // need to be adapted if this 
script is moved somewhere else
!       $_GET['domain'] = isset($_SERVER['argv'][1]) ? $_SERVER['argv'][1] : 
'default';
  
        $GLOBALS['phpgw_info']['flags'] = array(
***************
*** 32,39 ****
        include($path_to_phpgroupware.'/header.inc.php');
  
!       $num = ExecMethod('phpgwapi.asyncservice.check_run');
        
        // if the following comment got removed, you will get an email from 
cron for every check performed
!       //echo date('Y/m/d H:i:s ').($num ? "$num job(s) executed" : 'Nothing 
to execute')."\n";
  
        $GLOBALS['phpgw']->common->phpgw_exit();
--- 32,39 ----
        include($path_to_phpgroupware.'/header.inc.php');
  
!       $num = ExecMethod('phpgwapi.asyncservice.check_run','crontab');
        
        // if the following comment got removed, you will get an email from 
cron for every check performed
!       //echo date('Y/m/d H:i:s ').$_GET['domain'].': '.($num ? "$num job(s) 
executed" : 'Nothing to execute')."\n";
  
        $GLOBALS['phpgw']->common->phpgw_exit();





reply via email to

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