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
97884651
Commit
97884651
authored
Nov 20, 2017
by
Brian Holsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add task.txt
parent
b035cda4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
Dockerfile
Dockerfile
+3
-2
task.txt
task.txt
+2
-0
No files found.
Dockerfile
View file @
97884651
...
...
@@ -7,7 +7,7 @@ RUN yum install -y cronie
USER
1001
#
create
task file
echo "*/5 * * * * /usr/bin/curl http://wh.okayapps.com/api/siteviewcount/insert_stat.html" >
/tmp/task.txt
#
add
task file
ADD
task.txt
/tmp/task.txt
CMD
[ "crontab /tmp/task.txt" ]
\ No newline at end of file
task.txt
0 → 100644
View file @
97884651
*/5 * * * * /usr/bin/curl http://wh.okayapps.com/api/siteviewcount/insert_stat.html
\ 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