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 details)
Built Distribution
File details
Details for the file zulip_doc-0.4.0.tar.gz
.
File metadata
- Download URL: zulip_doc-0.4.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.8.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eac2f06cd3d7ed5efdc78c9e1e9ca9e3b8fe78313630255ab3b4524fb82cd2ff |
|
MD5 | a1ac677d6891ea46456994c4fd36d1b5 |
|
BLAKE2b-256 | 034c67018d6e8c9191416ecd2f052b54af440cfbf371d0d90d3bbdf3c985383f |
File details
Details for the file zulip_doc-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: zulip_doc-0.4.0-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.8.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 824afc0d5534bc86345dee0d926cf2e42e48c9fa6324d5e45bcf3c2f241ebab7 |
|
MD5 | d4b38b308ec7f3f4a23b4527dbda0817 |
|
BLAKE2b-256 | 619edafea1438af01e5397f93dc3f480aa47595673bfb67c57e722bb819ff973 |