parent
f98af75c6d
commit
b8d6100f58
|
@ -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
|
Loading…
Reference in New Issue