     
     AC: 'Зачтено/Принято'
     IG: 'Проигнорировано'
+        
+    needContinueFromSubmit: (runid) ->
+        true
 
     processSubmit: (uid, name, pid, runid, prob, date, outcome, childrenResults) ->
+        res = @needContinueFromSubmit(runid)
         if (outcome == @AC) 
             outcome = "AC"
         if (outcome == @IG) 

        console.log uid, name, pid, runid, prob, date, "'"+outcome+"'"
        Submits.addSubmit(runid, date, uid, pid, outcome)
        Users.addUser(uid, name, "lic40")
        true
    
#    if date > endDate:  # we do not need this, but continue search
#        return True

                Results.addResult(user._id, problem._id, Submits.problemResult(user._id, problem))
    
    
SyncedCron.add
    name: 'loadTable',
    schedule: (parser) ->
        return parser.text('every 10 seconds');
#        return parser.text('every 5 minutes');
    job: -> 
        (new UntilIgnoredSubmitDownloader()).run()

SyncedCron.start()
#Meteor.startup ->
