Author: tkoomzaaskz
Date: 2010-09-05 23:03:39 +0200 (Sun, 05 Sep 2010)
New Revision: 30833

Modified:
   plugins/sfTaskLoggerPlugin/branches/1.2/README
   
plugins/sfTaskLoggerPlugin/branches/1.2/lib/task/sfTaskLoggerPurgeRunningTask.class.php
   plugins/sfTaskLoggerPlugin/branches/1.2/package.xml
Log:
[task logger] admin purge comment added, readme updated with non-verbose cron 
task output

Modified: plugins/sfTaskLoggerPlugin/branches/1.2/README
===================================================================
--- plugins/sfTaskLoggerPlugin/branches/1.2/README      2010-09-05 20:10:47 UTC 
(rev 30832)
+++ plugins/sfTaskLoggerPlugin/branches/1.2/README      2010-09-05 21:03:39 UTC 
(rev 30833)
@@ -275,11 +275,20 @@
 >with the running flag to "ON":
 >
 >     > ./symfony task-logger:purge --task="myProject:myTask" 
 > --application=backend --env="dev"
+>
 
+Console output
+==============
+
+You may want to have your console output disabled when running cron tasks, for
+example because of some server related configuration - in this case, add the
+__--quiet__ option to your cli command:
+
+     ./symfony task-logger:sample --application=frontend --env="prod" --quiet
+
 TODO
 ====
 
-  * Add an admin comment when purging batchs
   * Include model functions to get the list of already executed task
   * Include a Doctrine admin generator module
   * Test Propel version

Modified: 
plugins/sfTaskLoggerPlugin/branches/1.2/lib/task/sfTaskLoggerPurgeRunningTask.class.php
===================================================================
--- 
plugins/sfTaskLoggerPlugin/branches/1.2/lib/task/sfTaskLoggerPurgeRunningTask.class.php
     2010-09-05 20:10:47 UTC (rev 30832)
+++ 
plugins/sfTaskLoggerPlugin/branches/1.2/lib/task/sfTaskLoggerPurgeRunningTask.class.php
     2010-09-05 21:03:39 UTC (rev 30833)
@@ -58,6 +58,7 @@
       $purge_count = $this->purge($this->opts['task']);
       $this->task->setCountProcessed($purge_count);
       $this->printAndLog('>  '. $purge_count. ' record(s) updated.');
+      $this->task->setComments($this->task->getComments().'Purged by 
task-logger:purge on '.date('Y-m-d').'.');
       $this->task->setErrorCode(self::ERROR_CODE_SUCCESS);
       $this->setOk();
     }

Modified: plugins/sfTaskLoggerPlugin/branches/1.2/package.xml
===================================================================
--- plugins/sfTaskLoggerPlugin/branches/1.2/package.xml 2010-09-05 20:10:47 UTC 
(rev 30832)
+++ plugins/sfTaskLoggerPlugin/branches/1.2/package.xml 2010-09-05 21:03:39 UTC 
(rev 30833)
@@ -18,10 +18,16 @@
     <email>[email protected]</email>
     <active>yes</active>
   </lead>
-  <date>2010-09-02</date>
+  <developer>
+    <name>Tomasz Ducin</name>
+    <user>tkoomzaaskz</user>
+    <email>[email protected]</email>
+    <active>yes</active>
+  </developer>
+  <date>2010-09-06</date>
   <version>
-    <release>1.0.2</release>
-    <api>1.0.2</api>
+    <release>1.0.3</release>
+    <api>1.0.3</api>
   </version>
   <stability>
     <release>stable</release>
@@ -71,6 +77,23 @@
   <changelog>
     <release>
       <version>
+        <release>1.0.3</release>
+        <api>1.0.3</api>
+      </version>
+      <stability>
+       <release>stable</release>
+       <api>stable</api>
+      </stability>
+      <license uri="http://www.symfony-project.com/license";>MIT 
license</license>
+      <date>2010-09-06</date>
+      <license>MIT</license>
+      <notes>
+        * added an admin comment when purging batchs
+        * verbose console output problem solved (readme)
+      </notes>
+    </release>
+    <release>
+      <version>
         <release>1.0.2</release>
         <api>1.0.2</api>
       </version>

-- 
You received this message because you are subscribed to the Google Groups 
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-svn?hl=en.

Reply via email to