[tor-bugs] #14826 [Onionoo]: backend: hourly update without crontab or the like

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Feb 10 13:16:44 UTC 2015


#14826: backend: hourly update without crontab or the like
-----------------------------+----------------------------
     Reporter:  iwakeh       |      Owner:
         Type:  enhancement  |     Status:  needs_revision
     Priority:  normal       |  Milestone:
    Component:  Onionoo      |    Version:
   Resolution:               |   Keywords:
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+----------------------------
Changes (by karsten):

 * status:  needs_review => needs_revision


Comment:

 That patch starts the first execution 1 minute after starting and then
 waits for 60 minutes between termination of one execution to start of the
 next.

 Can we try to get closer to the current crontab behavior?  That would be
 start at 15 minutes after the hour, unless an earlier execution is still
 running.  I think `scheduleAtFixedRate` does that, right?  And I think we
 don't need the `lock` file anymore if we go that route, correct?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/14826#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list