Sha256: a60157f945b05f9dad954f37d0d436924b51453b7fc5f9ca2705e48e01c2b129

Contents?: true

Size: 709 Bytes

Versions: 4

Compression:

Stored size: 709 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

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

4 entries across 4 versions & 1 rubygems

Version Path
deputy-0.1.54 Readme.md
deputy-0.1.53 Readme.md
deputy-0.1.52 Readme.md
deputy-0.1.51 Readme.md