From 4e6e5c4d858005e2270ede066122b816454bf455 Mon Sep 17 00:00:00 2001 From: Ayush Sharma Date: Sun, 11 Nov 2018 16:04:11 +0530 Subject: [PATCH] Changing crontab to stdout. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 Dockerfile diff --git a/Dockerfile b/Dockerfile old mode 100644 new mode 100755 index a5caef3..537da6e --- a/Dockerfile +++ b/Dockerfile @@ -19,7 +19,7 @@ RUN cd /root;\ sed -i 's/"toots.app_secure_token": ""/"toots.app_secure_token": "'$mastodon_token'"/g' config.json;\ RUN crontab -l > /tmp/crontab;\ - echo '* * * * * cd /root/tweet-toot; python3 /root/tweet-toot/run.py 2>&1 /tmp/tweet-toot.log' >> /tmp/crontab;\ + echo '* * * * * cd /root/tweet-toot; python3 /root/tweet-toot/run.py >> /tmp/tweet-toot.log 2>&1' >> /tmp/crontab;\ crontab /tmp/crontab RUN touch /tmp/tweet-toot.log