celery.bin.events

    参见

    See Preload Options and .

    -d, --dump

    Dump events to stdout.

    -c, --camera

    Take snapshots of events using this camera.

    --detach

    Camera: Detach and run in the background as a daemon.

    Camera: Shutter frequency. Default is every 1.0 seconds.

    -r, --maxrate

    Camera: Optional shutter rate limit (e.g. 10/m).

    -l, --loglevel

    Logging level, choose between DEBUG, INFO, WARNING, ERROR, CRITICAL, or FATAL. Default is INFO.

    class celery.bin.events.events(app=None, get_app=None, no_color=False, stdout=None, stderr=None, quiet=False, on_error=None, on_usage_error=None)[源代码]

    Event-stream utilities.

    Commands:

    • get_options()

    • run(dump=False, camera=None, frequency=1.0, maxrate=None, loglevel=u’INFO’, logfile=None, prog_name=u’celery events’, pidfile=None, uid=None, gid=None, umask=None, working_directory=None, detach=False, \*kwargs*)[源代码]

    • run_evcam(camera, logfile=None, pidfile=None, uid=None, gid=None, umask=None, working_directory=None, detach=False, \*kwargs*)

    • run_evtop()[源代码]

    • set_process_status(prog, info=u’’)

    • supports_args = False