run-logcheck /

Filename Size Date modified Message
98 B
141 B
887 B
98 B
1.7 KB
1.0 KB
run-logcheck
============

run_logcheck is a simple wrapper script to check for a running
logcheck process before starting a new one. This is used to prevent
the annoying dogpiling effects of having logcheck processes running
one after another and using up CPU and memory resources on a server.


## Installation

    cd to run-logcheck directory
    ./install-scripts

The installation script will copy the run_logcheck script to:

    /usr/local/sbin


## How to Use

Update your /etc/cron.d/logcheck cronjob by substituting the default
cron task with a task to execute run_logcheck:

    RUN_LOGCHECK="/usr/local/sbin/run_logcheck"

    #2 */8 * * *       logcheck    if [ -x /usr/sbin/logcheck ]; then nice -n10 /usr/sbin/logcheck; fi
    2 * * * *          logcheck    "$RUN_LOGCHECK"


## Contact

Questions:

* Kevin Chan <kefin@makedostudio.com>
* https://bitbucket.org/kchan/


Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.