An open API service indexing awesome lists of open source software.

https://github.com/pizzapanther/zulip-doc

Zulip service that checks user presence for Duty of Care responsibilities for remote teams
https://github.com/pizzapanther/zulip-doc

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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`

Then setup your `.zuliprc` file (for API usage):

```
[api]
key=
email=
site=
```

## 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*