From Fedora Project Wiki

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Warning.png
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