ncolony/schedulelib.py
def makeService(opts):
    """Make scheduler service

    :params opts: dict-like object.
       keys: frequency, args, timeout, grace
    """
    ser = tainternet.TimerService(opts['frequency'], runProcess, opts['args'],
                                  opts['timeout'], opts['grace'], tireactor)
    ret = service.MultiService()
    ser.setName('scheduler')
    ser.setServiceParent(ret)
    heart.maybeAddHeart(ret)
    return ret
def makeService(opts):
    ser = tainternet.TimerService(opts['frequency'], runProcess, opts['args'],
                                  opts['timeout'], opts['grace'], tireactor)
    ret = service.MultiService()
    ser.setName('scheduler')
    ser.setServiceParent(ret)
    heart.maybeAddHeart(ret)
    return ret
def makeService ( opts ) : ser = tainternet . TimerService ( opts [ 'frequency' ] , runProcess , opts [ 'args' ] , opts [ 'timeout' ] , opts [ 'grace' ] , tireactor ) ret = service . MultiService ( ) ser . setName ( 'scheduler' ) ser . setServiceParent ( ret ) heart . maybeAddHeart ( ret ) return ret
Make scheduler service

    :params opts: dict-like object.
       keys: frequency, args, timeout, grace
Make scheduler service