Skip to main content

No project description provided

Project description

pypi python implementation

docs license last-commit

donate follow

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

gar-cron-1.0.7.tar.gz (4.5 kB view hashes)

Uploaded Source

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