Commit 97884651 by Brian Holsen

add task.txt

parent b035cda4
...@@ -7,7 +7,7 @@ RUN yum install -y cronie ...@@ -7,7 +7,7 @@ RUN yum install -y cronie
USER 1001 USER 1001
#create task file #add task file
echo "*/5 * * * * /usr/bin/curl http://wh.okayapps.com/api/siteviewcount/insert_stat.html" > /tmp/task.txt ADD task.txt /tmp/task.txt
CMD [ "crontab /tmp/task.txt" ] CMD [ "crontab /tmp/task.txt" ]
\ No newline at end of file
*/5 * * * * /usr/bin/curl http://wh.okayapps.com/api/siteviewcount/insert_stat.html
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment