mirror of
https://github.com/kennethreitz-archive/heroku-splinder.git
synced 2026-06-05 23:40:17 +00:00
21 lines
280 B
Python
21 lines
280 B
Python
|
|
from time import sleep
|
|
|
|
import envoy
|
|
|
|
|
|
run = envoy.connect('make run')
|
|
print 'Running downloader...'
|
|
|
|
while True:
|
|
print 'Wating 200 seconds...'
|
|
sleep(200)
|
|
print 'Uploading...'
|
|
c = envoy.run('make upload')
|
|
print 'In sync!'
|
|
# print c.std_out
|
|
# print
|
|
|
|
|
|
|