Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wenhuasuixing-crontab
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
kc-repo
wenhuasuixing-crontab
Commits
b39683ac
Commit
b39683ac
authored
Nov 20, 2017
by
Brian Holsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parents
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
Dockerfile
Dockerfile
+14
-0
No files found.
Dockerfile
0 → 100644
View file @
b39683ac
FROM
openshift/base-centos7
MAINTAINER
Brian Holsen <BrianHolsen@outlook.com>
#Install package for crontab
RUN
yum install cronie
USER
1001
#create task file
echo "*/5 * * * * /usr/bin/curl http://wh.okayapps.com/api/siteviewcount/insert_stat.html" > /tmp/task.txt
CMD
[ "crontab /tmp/task.txt" ]
\ No newline at end of file
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