W3cubDocs

/SaltStack

salt.states.chronos_job module

Configure Chronos jobs via a salt proxy.

my_job:
  chronos_job.config:
    - config:
        schedule: "R//PT2S"
        command: "echo 'hi'"
        owner: "[email protected]"

New in version 2015.8.2.

salt.states.chronos_job.absent(name)

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

Parameters: name -- The app name
Returns: 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.

Parameters:
  • name -- The job name
  • config -- The configuration to apply (dict)
Returns:

A standard Salt changes dictionary

© 2019 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltstack.com/en/latest/ref/states/all/salt.states.chronos_job.html