Module providing a simple management interface to a chronos cluster.
Currently this only works when run through a proxy minion.
2015.8.2 新版功能.
salt.modules.chronos.has_job(name)¶Return whether the given job is currently configured.
CLI Example: .. code-block:: bash
salt chronos-minion-id chronos.has_job my-job
salt.modules.chronos.job(name)¶Return the current server configuration for the specified job.
CLI Example: .. code-block:: bash
salt chronos-minion-id chronos.job my-job
salt.modules.chronos.jobs()¶Return a list of the currently installed job names.
CLI Example: .. code-block:: bash
salt chronos-minion-id chronos.jobs
salt.modules.chronos.rm_job(name)¶Remove the specified job from the server.
CLI Example: .. code-block:: bash
salt chronos-minion-id chronos.rm_job my-job
salt.modules.chronos.update_job(name, config)¶Update the specified job with the given configuration.
CLI Example: .. code-block:: bash
salt chronos-minion-id chronos.update_job my-job '<config yaml>'