目录

Daily Number Incrementer

A simple Python script that automatically increments a number in a text file and commits the change to git. Perfect for maintaining a daily commit streak or tracking sequential values.

Setup

  1. Clone this repository:
git clone https://github.com/Shogun89/fancy_job
cd fancy_job
  1. Run the script:
python update_number.py
  1. Setup a cron job to run the script daily:
crontab -e

Add the following line to the crontab file:

0 6 * * * cd /path/to/your/repo && python update_number.py

This will run the script at 6am every day.

Usage

The script will increment the number in number.txt and commit the change to git. You can modify the script to increment by any value or use a different file to store the number.

By running this you will be able get a fancy streak on your github profile and get a job.

How to get a job

关于
11.6 MB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802032778号