No project description provided
Project description
gar-cron
github activity reminder cron - a script to send you reminders about your github commit activity. By default, it shoots a mail when there is no commit activity for 3 or more days. Read this DEV.to article to understand more about this tool.
Installation
pip install gar-cron
Usage
gar-cron
Configuration
When you run gar-cron for the first time, it will prompt you to set values in config.json
along with its path. The values you need to set should be as follows (You need an smtp mail account to shoot emails, popular ones like GMail/Hotmail don't support this without oAuth, so register one at gmx.com or something):
{
"github_username": "<your github username>",
"alert_email": "<your email address>",
"smtp_server":"<smtp server>",
"smtp_email": "<smtp sending email>",
"smtp_username": "<smtp username>",
"smtp_password": "<smtp password>",
"smtp_port": "<smtp port>"
}
Once you do this, run gar-cron
again to ensure that it works. You may then configure it as a user cron job on linux by running crontab -e
or on windows by scheduling it through the control panel.
For testing of email reminder, you may temporarily configure someone else's github_username
in config.json who hasn't committed since a long time before running it.
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
File details
Details for the file gar-cron-1.0.7.tar.gz
.
File metadata
- Download URL: gar-cron-1.0.7.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 375a7e98c5ace35b90b4b7335e4d87b0ac1762fc6eeab4f31e0aa554f76f1525 |
|
MD5 | 350af1963d1565208bbd0da2daad25aa |
|
BLAKE2b-256 | d65995a1da8bea2a0f5480264d62bd0ae661a67491a4fa6c92dcf0bac39820f5 |