我无法在高山的debian docker内部运行crontab,发生bin / bash错误。
crond: crond (busybox 1.28.4) started, log level 8
crond: can't execute '/bin/bash' for user root
crond: USER root pid 79 cmd
脚本
#!/bin/sh
if [ "production" == "${TIER}" ]; then
echo "* * * * * php ${REPOSITORY_PATH}/artisan schedule:run >> /dev/null 2>&1" | crontab - && crond -f -L /dev/stdout
fi