             if not result
                 break
             page = page + 1
-        updateResults()
+            if page > @limitPages
+                break
             
 class LastSubmitDownloader extends AllSubmitDownloader
     needContinueFromSubmit: (runid) ->

#        return parser.text('every 10 seconds');
        return parser.text('every 1 minutes');
    job: -> 
        (new LastSubmitDownloader()).run()

SyncedCron.add
    name: 'loadTable-3',

#        return parser.text('every 10 seconds');
        return parser.text('at 0:00');
    job: -> 
        (new AllSubmitDownloader(lic40url, 'lic40', 1e9)).run()
        (new AllSubmitDownloader(zaochUrl, 'zaoch', 1e9)).run()
        updateResults()

SyncedCron.start()
#Meteor.startup ->
