Sha256: 43c41a420ef7a4357783f14ac3c71571b6dfc491599d082b4be277518e85d082

Contents?: true

Size: 736 Bytes

Versions: 2

Compression:

Stored size: 736 Bytes

Contents

Report values to [Sheriff](https://github.com/dawanda/sheriff) or run plugins from sheriff.

# Install

    sudo gem install deputy

Put into `~/.deputy.yml` or `/etc/deputy.yml`
    sheriff_url: http://sheriff.mydomain.com
    # overwrite defaults if needed
    max_random_start_delay: 30
    timeout: 10
    silent_on_errors: true

Basic auth login can be added to the url:
    sheriff_url: http://username:password@sheriff.mydomain.com

Add deputy to cron with `deputy --install-cron` (logs to /tmp/deputy.log)

# Usage

### Report something
    deputy Cronjob.ran
    deputy Cronjob.users_found 123
    dump_database.sh 2>&1 ; deputy Cron.database_dumped $?

### Run plugins by hand for debugging
    deputy --run-plugins --no-wait

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
deputy-0.1.56 Readme.md
deputy-0.1.55 Readme.md