[COMMIT LOGREPORT] service/all/script lr_cron.in,1.35,1.36

Francis J. Lacoste flacoste at users.sourceforge.net
Tue Jun 21 17:23:37 CEST 2005


Update of /cvsroot/logreport/service/all/script
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30594/all/script

Modified Files:
	lr_cron.in 
Log Message:
The $time parameter goes on the run() method.


Index: lr_cron.in
===================================================================
RCS file: /cvsroot/logreport/service/all/script/lr_cron.in,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- lr_cron.in	21 Jun 2005 14:57:59 -0000	1.35
+++ lr_cron.in	21 Jun 2005 15:23:34 -0000	1.36
@@ -42,8 +42,8 @@
 }
 eval {
     my $store = Lire::DlfStore->open( $store_path, 1 );
-    foreach my $job ( @{ $store->import_jobs( $time ) } ) {
-        $job->run( $store ) if $job->period() eq $period;
+    foreach my $job ( @{ $store->import_jobs() } ) {
+        $job->run( $store, $time ) if $job->period() eq $period;
     }
     foreach my $job ( @{ $store->report_jobs() } ) {
         $job->run( $store, $period, $time );

-- 
To UNSUBSCRIBE, email to commit-request at logreport.org with a subject of 
"unsubscribe". Trouble? Send an email with subject "help" to 
commit-request at logreport.org



More information about the Commit mailing list