Skip to main content

Zulip service that checks user presence for Duty of Care responsibilities for remote teams

Project description

Zulip Duty of Care Service

A small script to check user presence in Zulip. If a user hasn't been around for a while it will send you a message in Zulip so you can check up on them and see if they are ok.

Install

pipx install zulip-doc

Usage

Usage: zdoc [OPTIONS] [SEND_TO]...

Arguments:
  [SEND_TO]...

Options:
  --max-idle INTEGER              [env var: MAX_IDLE; default: 86400]
  --ignore-weekends / --no-ignore-weekends
                                  [env var: IGNORE_WEEKENDS; default: ignore-
                                  weekends]
  --config-file FILE              [env var: CONFIG_FILE; default:
                                  /home/{username}/.zuliprc]
  --help                          Show this message and exit.

Example: zdoc 12 22

Cron Job Setup

crontab -e

Then add something like:

0 12 * * * /home/paul/.local/bin/zdoc --config-file /home/paul/.zuliprc 12 22

runs everyday at noon

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zulip_doc-0.4.0.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

zulip_doc-0.4.0-py3-none-any.whl (3.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page