We're looking for a more realistic distribution of activity throughout the year
If you're on Windows™,
setup the Windows Subsystem for Linux
If you haven't already,
install git
-
Open your command-line
& navigate to whatever folder you prefer -
Fork this project on GitHub
-
Download your new copy of this project
git clone https://github.com/<your-github-username>/commit-bot.git
Don't forget to include your username
- Test run the script
in case you need to fix permissions issues
/bin/bash ./commit-bot/bot.sh
- Open your crontab to set a trigger
crontab -e
NOTE:
If this makes your screen almost blank
with no toolbar of keys to navigate,
you've probably entered the text editor Vim
Remember, press "i" to start [i]nserting text
When you're finished,
press "Esc" repeatedly until nothing happens
Then type ":wq" to save & quit
or ":q!" to quit without saving
- Add this line to schedule every 10pm or whenever
0 22 * * * /bin/bash /:D/github/committy-bot/bot.sh
Do not forget to include the correct folder path
NOTE:
Make sure you save your changes
on your way out!