You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Niels Abspoel 2d4adf9e24
Merge pull request #3 from myii/bug/fix-general-issues
1 year ago
cron fix(quotes): remove single quotes causing issues (or unnecessary) 1 year ago
README.rst Added OS compatibility 3 years ago
pillar.example fix(quotes): remove single quotes causing issues (or unnecessary) 1 year ago

README.rst

==============
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.