From Fedora Project Wiki

(Created page with '{{QA/Test_Case |description= Test ABRT Cron usage. This is usefull for example for periodical log scanners. |actions= Edit config file /etc/abrt/abrt.conf, where you should fi...')
 
No edit summary
Line 14: Line 14:


Try to add activation of other action plugin in particular time.
Try to add activation of other action plugin in particular time.
<pre>
[ Cron ]
# h:m - at h:m an action plugin is activated
# s - every s seconds is an action plugin activated
10 = KerneloopsScanner # every 10 second the KerneloopsScanner is activated
10 = RunApp("ls", "ls-output")
</pre>
* this should run ls every 10 sec and save it's output to /var/cache/abrt


|results=Plugins are activated once per selected interval
|results=Plugins are activated once per selected interval

Revision as of 08:48, 1 April 2010

Description

Test ABRT Cron usage. This is usefull for example for periodical log scanners.


How to test

Edit config file /etc/abrt/abrt.conf, where you should find lines:

[ Cron ]
# h:m - at h:m an action plugin is activated
# s - every s seconds is an action plugin activated
10 = KerneloopsScanner # every 10 second the KerneloopsScanner is activated

Try to add activation of other action plugin in particular time.

[ Cron ]
# h:m - at h:m an action plugin is activated
# s - every s seconds is an action plugin activated
10 = KerneloopsScanner # every 10 second the KerneloopsScanner is activated
10 = RunApp("ls", "ls-output")
  • this should run ls every 10 sec and save it's output to /var/cache/abrt

Expected Results

Plugins are activated once per selected interval