From Fedora Project Wiki

Revision as of 16:17, 13 January 2011 by Adamwill (talk | contribs) (convert to new category system)

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