cron entrypoint 수정

This commit is contained in:
2020-05-06 22:34:02 +09:00
parent a19d61fcea
commit 2830e17458
+2 -1
View File
@@ -1,3 +1,4 @@
#!/bin/sh
set -e
echo '* * * * * python3 /var/www/html/sam/src/run_daemon.py' | crontab - && crond -f -L /dev/stdout
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