https://github.com/dseira/cron-formula
Configure cron tasks using salt.
https://github.com/dseira/cron-formula
cron crontab saltstack-formula
Last synced: 8 months ago
JSON representation
Configure cron tasks using salt.
- Host: GitHub
- URL: https://github.com/dseira/cron-formula
- Owner: dseira
- Created: 2017-07-27T23:07:01.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2019-02-07T21:54:08.000Z (over 7 years ago)
- Last Synced: 2025-10-09T03:39:34.943Z (8 months ago)
- Topics: cron, crontab, saltstack-formula
- Language: SaltStack
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 23
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
==============
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
`_.
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.