Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)

src/o/p/OpenRelay-HEAD/apps/server_talk/__init__.py   OpenRelay(Download)
from server_talk import models as server_talk_model
from server_talk.tasks import heartbeat_check, inventory_hash_check
from server_talk.conf.settings import (HEARTBEAT_QUERY_INTERVAL,
    INVENTORY_QUERY_INTERVAL)
from server_talk.models import LocalNode
 
 
register_interval_job('heartbeat_check', heartbeat_check, seconds=HEARTBEAT_QUERY_INTERVAL)
register_interval_job('inventory_hash_check', inventory_hash_check, seconds=INVENTORY_QUERY_INTERVAL)