Commit b39683ac by Brian Holsen

init

parents
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
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