#!/usr/bin/python # Program to fetch the Effelsberg webcam image and store it on local data disk import time, os while 1: # filename t=time.localtime() n=120*t[3]+2*t[4]+int(t[5]/30) filename='eff_'+`n` command='wget --output-document=/aux/pc227a/emiddelb/data/pics/eberg_movie/webcam/'+filename+' http://134.104.64.34/ks/effbgview.jpg' # use wget to fetch + store image os.system(command) # wait 10 s and get next image time.sleep(10)