cvs: docweb /cron/daily rfcsystem /include/rfc rfc-cron.php /www/rfc rfc-proposal-show.php rfc-votes-show.php

[email protected] ("Vincent Gevers")
Newsgroups php.doc.web
Message-ID <cvsvincent1122734556@cvsserver>
vincent		Sat Jul 30 10:42:36 2005 EDT

  Added files:                 
    /docweb/cron/daily	rfcsystem 

  Modified files:              
    /docweb/include/rfc	rfc-cron.php 
    /docweb/www/rfc	rfc-proposal-show.php rfc-votes-show.php 
  Log:
  Cronjob for the RFC System
  
  
http://cvs.php.net/diff.php/docweb/include/rfc/rfc-cron.php?r1=1.3&r2=1.4&ty=u
Index: docweb/include/rfc/rfc-cron.php
diff -u docweb/include/rfc/rfc-cron.php:1.3 docweb/include/rfc/rfc-cron.php:1.4
--- docweb/include/rfc/rfc-cron.php:1.3	Sun Sep 12 03:39:01 2004
+++ docweb/include/rfc/rfc-cron.php	Sat Jul 30 10:42:35 2005
@@ -22,12 +22,12 @@
  * @author    Tobias Schlitt <[email protected]>
  * @copyright Copyright (c) 1997-2004 The PHP Group
  * @license   http://www.php.net/license/3_0.txt  PHP License
- * @version   $Id: rfc-cron.php,v 1.3 2004/09/12 07:39:01 vincent Exp $
+ * @version   $Id: rfc-cron.php,v 1.4 2005/07/30 14:42:35 vincent Exp $
  */
 
 /*
  * This file needs to run every day
- * the system expects it to run at 4 am
+ * the system expects it to run at 0 am
  */
  
 $path = realpath(dirname(__FILE__));
http://cvs.php.net/diff.php/docweb/www/rfc/rfc-proposal-show.php?r1=1.14&r2=1.15&ty=u
Index: docweb/www/rfc/rfc-proposal-show.php
diff -u docweb/www/rfc/rfc-proposal-show.php:1.14 docweb/www/rfc/rfc-proposal-show.php:1.15
--- docweb/www/rfc/rfc-proposal-show.php:1.14	Fri Jul 29 17:52:37 2005
+++ docweb/www/rfc/rfc-proposal-show.php	Sat Jul 30 10:42:36 2005
@@ -19,7 +19,7 @@
  * @author    Daniel Convissor <[email protected]>
  * @copyright Copyright (c) 1997-2004 The PHP Group
  * @license   http://www.php.net/license/3_0.txt  PHP License
- * @version   $Id: rfc-proposal-show.php,v 1.14 2005/07/29 21:52:37 vincent Exp $
+ * @version   $Id: rfc-proposal-show.php,v 1.15 2005/07/30 14:42:36 vincent Exp $
  */
 
 /**
@@ -136,8 +136,8 @@
     echo ' (' . $proposalVotesSum['conditional'] . ' conditional)';
     echo "</li>\n";
 } elseif ($proposal->status == 'vote') {
-    // Cron job runs at 4 am
-    $pepr_end = mktime(4, 0, 0, date('m', $proposal->vote_date),
+    // Cron job runs at 0 am
+    $pepr_end = mktime(0, 0, 0, date('m', $proposal->vote_date),
                         date('d', $proposal->vote_date),
                         date('Y', $proposal->vote_date));
 
http://cvs.php.net/diff.php/docweb/www/rfc/rfc-votes-show.php?r1=1.7&r2=1.8&ty=u
Index: docweb/www/rfc/rfc-votes-show.php
diff -u docweb/www/rfc/rfc-votes-show.php:1.7 docweb/www/rfc/rfc-votes-show.php:1.8
--- docweb/www/rfc/rfc-votes-show.php:1.7	Sat Jul 30 06:32:20 2005
+++ docweb/www/rfc/rfc-votes-show.php	Sat Jul 30 10:42:36 2005
@@ -19,7 +19,7 @@
  * @author    Daniel Convissor <[email protected]>
  * @copyright Copyright (c) 1997-2004 The PHP Group
  * @license   http://www.php.net/license/3_0.txt  PHP License
- * @version   $Id: rfc-votes-show.php,v 1.7 2005/07/30 10:32:20 vincent Exp $
+ * @version   $Id: rfc-votes-show.php,v 1.8 2005/07/30 14:42:36 vincent Exp $
  */
 
 /**
@@ -136,8 +136,8 @@
     if ($form) {
         echo '  <td class="textcell" valign="top">' . "\n";
         
-        // Cron job runs at 4 am
-        $pepr_end = mktime(4, 0, 0, date('m', $proposal->vote_date),
+        // Cron job runs at 0 am
+        $pepr_end = mktime(0, 0, 0, date('m', $proposal->vote_date),
                             date('d', $proposal->vote_date),
                             date('Y', $proposal->vote_date));
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.