[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gforge-commits] gforge/cronjobs reporting_cron.php,1.1,1.2
From: |
tperdue |
Subject: |
[Gforge-commits] gforge/cronjobs reporting_cron.php,1.1,1.2 |
Date: |
Wed, 28 Jul 2004 12:49:30 -0500 |
Update of /cvsroot/gforge/gforge/cronjobs
In directory db.perdue.net:/home/tperdue/share/dev.gforge.org/cronjobs
Modified Files:
reporting_cron.php
Log Message:
Release of Reporting Module
Index: reporting_cron.php
===================================================================
RCS file: /cvsroot/gforge/gforge/cronjobs/reporting_cron.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- reporting_cron.php 28 Jul 2004 17:30:21 -0000 1.1
+++ reporting_cron.php 28 Jul 2004 17:49:28 -0000 1.2
@@ -32,17 +32,18 @@
$report = new ReportSetup();
if ($report->isError()) {
- exit_error('Error',$report->getErrorMessage());
+ $err .= $report->getErrorMessage();
}
db_begin();
if (!$report->dailyData()) {
- exit_error('Error',$report->getErrorMessage());
+ $err .= $report->getErrorMessage();
}
db_commit();
-echo "Done: ".date('Ymd H:i').' - '.db_error();
+$err .= "Done: ".date('Ymd H:i').' - '.db_error();
+cron_entry(20,$err);
?>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gforge-commits] gforge/cronjobs reporting_cron.php,1.1,1.2,
tperdue <=