(cron) Add tenplates

This commit is contained in:
Jos Schellevis 2015-06-23 11:59:18 +02:00
parent 1807761825
commit 578d0d8e94
3 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,8 @@
name: opnsense-cron
version: 0.1
origin: opnsense/cron
comment: OPNsense Cron configuration
desc: configuration templates for Cron
maintainer: jos at opnsense.org
www: https://opnsense.org
prefix: /

View File

@ -0,0 +1 @@
user.cron:/var/cron/tabs/root

View File

@ -0,0 +1,12 @@
# DO NOT EDIT THIS FILE - OPNsense auto generated file.
# (Cron version -- $FreeBSD$)
SHELL=/bin/sh
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
# Order of crontab fields
# minute hour mday month wday command
{% if helpers.exists('OPNsense.cron.jobs') %}
{% for job in helpers.toList('OPNsense.cron.jobs.job') %}
# Origin/Description: {{job.origin}}/{{job.description}}
{{job.minutes}} {{job.hours}} {{job.days}} {{job.moths}} {{job.weekdays}} configd {{job.command}} '{{job.parameter}}'
{% endfor %}
{% endif %}