0
0
mirror of https://github.com/saltstack-formulas/cron-formula.git synced 2024-11-27 20:57:45 +01:00
Go to file
2019-08-27 23:52:09 +02:00
bin ci(kitchen): add Kitchen tests 2019-08-27 23:52:09 +02:00
cron fix(quotes): remove single quotes causing issues (or unnecessary) 2019-03-31 00:58:35 +00:00
test ci(kitchen): add Kitchen tests 2019-08-27 23:52:09 +02:00
.gitignore ci(kitchen): add Kitchen tests 2019-08-27 23:52:09 +02:00
.travis.yml ci(kitchen): add Kitchen tests 2019-08-27 23:52:09 +02:00
Gemfile ci(kitchen): add Kitchen tests 2019-08-27 23:52:09 +02:00
kitchen.yml ci(kitchen): add Kitchen tests 2019-08-27 23:52:09 +02:00
pillar.example fix(quotes): remove single quotes causing issues (or unnecessary) 2019-03-31 00:58:35 +00:00
README.rst Added OS compatibility 2017-07-28 02:18:39 +02:00

==============
cron-formula
==============

Install and configure cron and set up cron tasks. Tested in CentOS 6/7 and Ubuntu 12/14/16.

.. note::

    See the full `Salt Formulas installation and usage instructions
    <http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html>`_.

Available states
================

.. contents::
    :local:

``cron``
--------
Join install, configure and service states.

``install``
-----------
Install required package to run cron.

``config``
----------
Configure cron tasks based on the pillar configuration.

Remember that is you need to delete a cron task you have to set ``type`` as ``absent`` if not, the crontask will not be deleted. You can also disable a crontask using the ``commented`` keyword.

``service``
-----------
Manage the ``cron`` service. Stopping or starting it. If needed, you can disable the cron service by setting the ``enabled: False`` option in the pillar.