mirror of
https://github.com/willfarrell/docker-crontab.git
synced 2025-06-24 21:04:14 +02:00
remove docker-in-docker - use volumes
This commit is contained in:
@ -156,8 +156,12 @@ function build_crontab() {
|
||||
# Used to pass json to functions - total hack, I know
|
||||
TMP_JSON=
|
||||
|
||||
if [ "$1" = "crond" ] && [ -f ${CONFIG} ]; then
|
||||
build_crontab
|
||||
if [ "$1" = "crond" ]; then
|
||||
if [ -f ${CONFIG} ]; then
|
||||
build_crontab
|
||||
else
|
||||
echo "Unable to find ${HOME_DIR}/config.json"
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "$@"
|
||||
|
Reference in New Issue
Block a user