1
0
mirror of https://github.com/lineageos4microg/docker-lineage-cicd synced 2024-11-09 10:09:56 +01:00

Fix the cronjob init

Syntax was wrong
This commit is contained in:
Julian Xhokaxhiu 2017-01-09 20:08:31 +01:00
parent 59233f4d0e
commit 38cbef20f0

@ -14,7 +14,7 @@ git config --global user.name $USER_NAME
git config --global user.email $USER_MAIL
# Initialize the cronjob
echo -e "$CRONTAB_TIME /usr/bin/flock -n /tmp/lock.build /root/build.sh\n" > /etc/cron.d/crontab
echo -e "SHELL=/bin/bash\nPATH=/sbin:/bin:/usr/sbin:/usr/bin\nMAILTO=root\n$CRONTAB_TIME root /usr/bin/flock -n /tmp/lock.build /root/build.sh\n" > /etc/cron.d/crontab
chmod 0644 /etc/cron.d/crontab
# Run crond in foreground