Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 877 Bytes

File metadata and controls

34 lines (25 loc) · 877 Bytes

Github commit-skipper alarm

Skip leg day, not commit day ᕦ(ò_óˇ)

Frequently forget to commit + push your code at the end of the day? Worry not, we have the right tool to help you...

Instructions

Prerequisites: You will need npm (or yarn) and Node.js installed

  1. git clone this repo
  2. cd into it and run npm install
  3. Fill in the .env file
  4. Keep it running in the background with pm2 or forever (you will need to have these installed) or by adding it as a systemd service
pm2 start index.js

(or alternatively, dockerize it and open a PR :) )

 


Cron syntax

Find an explanation here

0 19 * * *
# ^ run everyday at 19:00
30 14 * * *
# ^ run everyday at 14:30

⚙️ NOTIFY_ON_WEEKEND

Set it to true if you want to receive alerts on Sat/Sun