Author: jerome
Date: 2009-07-01 10:34:09 +0200 (Wed, 01 Jul 2009)
New Revision: 4948

Modified:
   
software_suite_v3/software/plugin/plugin-system/trunk/plugin-system/executables/plugin-system.py
   
software_suite_v3/software/plugin/plugin-system/trunk/plugin-system/resources/plugin.xml
Log:
* Updated tasks.
* Moved 'alerts' parameters.

Modified: 
software_suite_v3/software/plugin/plugin-system/trunk/plugin-system/executables/plugin-system.py
===================================================================
--- 
software_suite_v3/software/plugin/plugin-system/trunk/plugin-system/executables/plugin-system.py
    2009-07-01 08:15:03 UTC (rev 4947)
+++ 
software_suite_v3/software/plugin/plugin-system/trunk/plugin-system/executables/plugin-system.py
    2009-07-01 08:34:09 UTC (rev 4948)
@@ -214,8 +214,6 @@
             self.run(False)
         elif self.getCommand() == "runDaemon":
             self.runDaemon()
-        elif self.getCommand() == "check":
-            self.run()
         else:
             self.run()
 

Modified: 
software_suite_v3/software/plugin/plugin-system/trunk/plugin-system/resources/plugin.xml
===================================================================
--- 
software_suite_v3/software/plugin/plugin-system/trunk/plugin-system/resources/plugin.xml
    2009-07-01 08:15:03 UTC (rev 4947)
+++ 
software_suite_v3/software/plugin/plugin-system/trunk/plugin-system/resources/plugin.xml
    2009-07-01 08:34:09 UTC (rev 4948)
@@ -19,6 +19,7 @@
                        description="CPU threshold"
                        type="enum(10%, 20%, 30%, 40%, 50%, 60%, 70%, 80%, 90%)"
                        defaultValue="90%"
+            task="Activation"
            />
            <parameter
                category="Options"
@@ -26,6 +27,7 @@
                        description="Memory threshold"
                        type="enum(10%, 20%, 30%, 40%, 50%, 60%, 70%, 80%, 90%)"
                        defaultValue="90%"
+            task="Activation"
            />
         <parameter
                category="Options"
@@ -54,5 +56,16 @@
             expiration="1"/>
        </commands>
     <tasks>
+        <task
+            name="Activation"
+            description="Activate the system CPU and Memory threshold notifier"
+            command="runDaemon"
+            type="once delayed"
+            activated="false"
+
+            delay="00:00:10"
+            delayMask="false,false,false"
+            delayVisible="false"
+        />
     </tasks>
 </plugin>


------------------------------------------------------------------------------
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to