Skip to content

A Script made to pull files from a repo every [amount] of hours.

License

Notifications You must be signed in to change notification settings

JamesEU/Repo-Auto-Pull

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Repo-Auto-Pull

A Script made to pull files from a repo every [amount] of hours.

For this you will need to run pip install GitPython

I made this script for my FiveM Server so it would pull the updated files every 6 hours. The Timer can be removed and the script can be added to your start.bat which would look something like this:

cd /d C:\myServer\cfx-server-data
python autopull.py 
Stop (like ctrl+c) autopull.py after 90s
C:\myServer\run.cmd +exec server.cfg

The Stop (like ctrl+c) autopull.py after 90s allows for the files to pulled from the REPO.

This script can be used for any application, Allowed many developers to upload to your REPO and the new version being updated on your server every [amount] of hours

About

A Script made to pull files from a repo every [amount] of hours.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages