Adding tail.

pull/1/head v1.2
Ayush Sharma 2018-09-24 15:08:33 +05:30
parent f98af75c6d
commit b8d6100f58
1 changed files with 5 additions and 1 deletions

View File

@ -32,4 +32,8 @@ RUN wget -qO - --header="X-Papertrail-Token: "$papertrail_token https://papertra
RUN crontab -l > /tmp/crontab;\
echo '* * * * * cd /root/tweet-toot; python3 /root/tweet-toot/run.py >> /tmp/tweet-toot.log' >> /tmp/crontab;\
crontab /tmp/crontab
crontab /tmp/crontab
RUN touch /tmp/tweet-toot.log
CMD cron && tail -f /tmp/tweet-toot.log