OSDN Git Service

add log.
authorgn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Fri, 4 Sep 2009 01:05:47 +0000 (01:05 +0000)
committergn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Fri, 4 Sep 2009 01:05:47 +0000 (01:05 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/rec10@150 4e526526-5e11-4fc0-8910-f8fd03428081

rec10/trunk/src/timerec.py

index 57613a9..05484b7 100644 (file)
@@ -28,13 +28,12 @@ def task():
     #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:
@@ -85,6 +84,8 @@ def task():
             opt = task['opt']
         except:
             opt = ""
+        print title
+        print task
         tnow = datetime.datetime.now()
         dtt = bt-tnow
         dt = dtt.days * 24 * 60 * 60 + dtt.seconds