salt.states.chronos_job module

Configure Chronos jobs via a salt proxy.

2015.8.2 新版功能.

salt.states.chronos_job.absent(name)

Ensure that the chronos job with the given name is not present.

参数:name -- The app name
返回:A standard Salt changes dictionary
salt.states.chronos_job.config(name, config)

Ensure that the chronos job with the given name is present and is configured to match the given config values.

参数:
  • name -- The job name
  • config -- The configuration to apply (dict)
返回:

A standard Salt changes dictionary