Created
November 29, 2017 05:01
-
-
Save jithurjacob/b363f31448de431318f160048ddddedf to your computer and use it in GitHub Desktop.
Commit and Push after X time
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
© Jithu R Jacob - http://jithurjacob.in | |
This script is useful when we wait for a ML agorithm to finish running. What I would do is estimate the time remaining and set the script. | |
If you are using the script directly in your program you can remove the sleep function. | |
""" | |
import time, os | |
def runit(): | |
time.sleep(3600*1.3) | |
os.system("git add .") | |
os.system('git commit -m "finished process GAN_V2"') | |
os.system("git push") | |
print("done!!!") | |
runit() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment