#print tasks
inum = recdb.countRecNow_minutes("10")
#inum=recdb.countRecNow("1")
- print "now-rectask"
+ print "番組表更新処理"+ datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")
print "inum:" + str(inum) + "bscsrec:" + str(status.getBSCSRecording()) + "terec:" + str(status.getTERecording()) + " epg:" + str(status.getEPGUpdating())
#if inum+status.getBSCSRecording()+status.getTERecording() < 2:
update = chdb.update()
print update
- print "番組表更新処理"
if len(update) > 0:
pid = os.fork()
if pid != 0:
opt = task['opt']
except:
opt = ""
+ print title
+ print task
tnow = datetime.datetime.now()
dtt = bt-tnow
dt = dtt.days * 24 * 60 * 60 + dtt.seconds