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
c09b9299
Commit
c09b9299
authored
Apr 26, 2016
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cron: slightly improve generated output, adjkerntz is alreay in
parent
07799412
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
services.inc
src/etc/inc/services.inc
+3
-4
No files found.
src/etc/inc/services.inc
View file @
c09b9299
...
...
@@ -2392,7 +2392,6 @@ function configure_cron()
$autocron
=
array
();
$autocron
[]
=
generate_cron_job
(
'adjkerntz -a'
,
'1,31'
,
'0-5'
);
$autocron
[]
=
generate_cron_job
(
'/usr/local/sbin/expiretable -v -t 3600 sshlockout'
,
'*/60'
);
$autocron
[]
=
generate_cron_job
(
'/usr/local/sbin/expiretable -v -t 3600 virusprot'
,
'*/60'
);
$autocron
[]
=
generate_cron_job
(
'/usr/local/etc/rc.dyndns.update'
,
'1'
,
'1'
);
...
...
@@ -2454,16 +2453,16 @@ function configure_cron()
}
foreach
(
$autocron
as
$item
)
{
$crontab_contents
.=
"
\n
{
$item
[
'minute'
]
}
\t
"
;
$crontab_contents
.=
"
{
$item
[
'minute'
]
}
\t
"
;
$crontab_contents
.=
"
{
$item
[
'hour'
]
}
\t
"
;
$crontab_contents
.=
"
{
$item
[
'mday'
]
}
\t
"
;
$crontab_contents
.=
"
{
$item
[
'month'
]
}
\t
"
;
$crontab_contents
.=
"
{
$item
[
'wday'
]
}
\t
"
;
$crontab_contents
.=
"
{
$item
[
'who'
]
}
\t
"
;
$crontab_contents
.=
"
{
$item
[
'command'
]
}
"
;
$crontab_contents
.=
"
{
$item
[
'command'
]
}
\n
"
;
}
$crontab_contents
.=
"
\n
#
\n
"
;
$crontab_contents
.=
"#
\n
"
;
$crontab_contents
.=
"# If possible do not add items to this file manually.
\n
"
;
$crontab_contents
.=
"# If you do so, this file must be terminated with a blank line (e.g. new line)
\n
"
;
$crontab_contents
.=
"#
\n\n
"
;
...
...
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