cdist-type__cron
installs and manages cron jobs
- Provided by: cdist (Version: 4.0.0~pre3-2)
- Report a bug
installs and manages cron jobs
This cdist type allows you to manage entries in a users crontab.
user
command
state
minute
hour
day_of_month
month
day_of_week
raw
raw_command
# run Monday to Saturday at 23:15 __cron some-id --user root --command "/path/to/script" \ --hour 23 --minute 15 --day_of_week 1-6 # run on reboot __cron some-id --user root --command "/path/to/script" \ --raw @reboot # remove cronjob __cron some-id --user root --command "/path/to/script" --state absent # define default shell __cron some-id --user root --raw_command --command "SHELL=/bin/bash" \ --state present
Copyright (C) 2011-2013 Steven Armstrong. Free use of this software is granted under the terms of the GNU General Public License version 3 (GPLv3).
Steven Armstrong <steven-cdist--@--armstrong.cc>