From 2830e1745891a5947dee3c91e377fa02d5e568ec Mon Sep 17 00:00:00 2001 From: hide_d Date: Wed, 6 May 2020 22:34:02 +0900 Subject: [PATCH] =?UTF-8?q?cron=20entrypoint=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hidche/cron/entrypoint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hidche/cron/entrypoint.sh b/hidche/cron/entrypoint.sh index db5f214..a7434e7 100644 --- a/hidche/cron/entrypoint.sh +++ b/hidche/cron/entrypoint.sh @@ -1,3 +1,4 @@ #!/bin/sh set -e -echo '* * * * * python3 /var/www/html/sam/src/run_daemon.py' | crontab - && crond -f -L /dev/stdout \ No newline at end of file +echo '*/2 * * * * python3 /var/www/html/sam/src/run_daemon.py +1-59/2 * * * * python3 /var/www/html/sam/src/run_daemon.py' | crontab - && crond -f -L /dev/stdout \ No newline at end of file