From Fedora Project Wiki

(convert to new category system)
No edit summary
 
Line 1: Line 1:
{{admon/warning|This test is outdated|It was used a time ago and is now obsolete.}}
{{QA/Test_Case
{{QA/Test_Case
|description=
|description=

Latest revision as of 15:48, 22 September 2011

This test is outdated
It was used a time ago and is now obsolete.


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