Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
eaabe7f4
Commit
eaabe7f4
authored
May 30, 2016
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cron: reshuffle; closes #969
Lookie, privilege separation. ;)
parent
e2174e89
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
2 deletions
+8
-2
actions_interface.conf
src/opnsense/service/conf/actions.d/actions_interface.conf
+1
-0
+TARGETS
src/opnsense/service/templates/OPNsense/Cron/+TARGETS
+2
-1
empty.cron
src/opnsense/service/templates/OPNsense/Cron/empty.cron
+4
-0
user.cron
src/opnsense/service/templates/OPNsense/Cron/user.cron
+1
-1
No files found.
src/opnsense/service/conf/actions.d/actions_interface.conf
View file @
eaabe7f4
...
...
@@ -3,6 +3,7 @@ command:/usr/local/etc/rc.interfaces_wan_configure
parameters
:%
s
type
:
script
message
:
Configuring
interface
%
s
description
:
Periodic
interface
reset
[
reload
]
command
:/
usr
/
local
/
etc
/
rc
.
reload_interfaces
...
...
src/opnsense/service/templates/OPNsense/Cron/+TARGETS
View file @
eaabe7f4
user.cron:/var/cron/tabs/root
empty.cron:/var/cron/tabs/root
user.cron:/var/cron/tabs/nobody
src/opnsense/service/templates/OPNsense/Cron/empty.cron
0 → 100644
View file @
eaabe7f4
# DO NOT EDIT THIS FILE -- OPNsense auto-generated file
SHELL=/bin/sh
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
# This file is empty on purpose, use /etc/crontab for overrides
src/opnsense/service/templates/OPNsense/Cron/user.cron
View file @
eaabe7f4
...
...
@@ -6,7 +6,7 @@ PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
{% for job in helpers.toList('OPNsense.cron.jobs.job') %}
{% if job.enabled|default('0') == '1' %}
# Origin/Description: {{job.origin}}/{{job.description}}
{{job.minutes}} {{job.hours}} {{job.days}} {{job.months}} {{job.weekdays}} /usr/local/sbin/configctl {{job.command}} {{job.parameter}}
{{job.minutes}} {{job.hours}} {{job.days}} {{job.months}} {{job.weekdays}} /usr/local/sbin/configctl {{job.command}} {{job.parameter
s
}}
{% endif %}
{% endfor %}
{% endif %}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment