Compare commits

..

13 Commits

Author SHA1 Message Date
jblu 1a69d0f730 Merge pull request 'dev-fix-crontab-functionality' (#2) from dev-fix-crontab-functionality into main
ci / docker (push) Successful in 28s
Reviewed-on: #2
2026-04-10 16:14:08 -05:00
jblu 1603453aa7 b
ci / docker (push) Successful in 28s
2026-04-10 15:58:19 -05:00
jblu ca453b90b4 a
ci / docker (push) Successful in 28s
2026-04-10 15:52:00 -05:00
jblu b539441aea updated grep command
ci / docker (push) Successful in 29s
2026-04-10 15:17:31 -05:00
jblu be930f67fd changing functionality for cron
ci / docker (push) Successful in 28s
2026-04-10 15:10:25 -05:00
jblu ac3b06424f possible solution for crontab
ci / docker (push) Successful in 28s
2026-04-10 14:45:52 -05:00
jblu 5c0d5bc1cc Merge pull request 'dev-cronie' (#1) from dev-cronie into main
ci / docker (push) Successful in 1m16s
Reviewed-on: #1
2026-04-08 17:15:59 -05:00
jblu e83151f74f updated docker file
ci / docker (push) Successful in 32s
2026-04-08 17:10:17 -05:00
jblu 56a887c0fb updated crontabs
ci / docker (push) Successful in 29s
2026-04-08 17:04:06 -05:00
jblu e929d68f3f adjusted crontab
ci / docker (push) Successful in 30s
2026-04-08 17:03:03 -05:00
jblu 564264dbbe fixed entrypoint and changed to not install cronie
ci / docker (push) Successful in 29s
2026-04-08 16:59:29 -05:00
jblu 1d87e47295 testing different crons
ci / docker (push) Successful in 31s
2026-04-08 16:55:18 -05:00
jblu 47fff33a0d updated entrypoint
ci / docker (push) Successful in 31s
2026-04-08 16:40:25 -05:00
3 changed files with 6 additions and 4 deletions
-1
View File
@@ -1,5 +1,4 @@
.gitignore .gitignore
LICENSE LICENSE
README.md README.md
.drone.yml
Dockerfile Dockerfile
+1 -2
View File
@@ -1,5 +1,4 @@
FROM alpine:latest FROM alpine:latest
COPY . opt COPY entrypoint.sh /opt
RUN apk add --no-cache cronie
RUN chmod +x /opt/entrypoint.sh RUN chmod +x /opt/entrypoint.sh
CMD ["/opt/entrypoint.sh"] CMD ["/opt/entrypoint.sh"]
+5 -1
View File
@@ -2,4 +2,8 @@
CRON_CONFIG_FILE="/etc/crontabs/root" CRON_CONFIG_FILE="/etc/crontabs/root"
echo "${CRON} echo "Come in the water is fine!" > /opt/output.log" > $CRON_CONFIG_FILE grep -qF 'echo Come in the water is fine!' $CRON_CONFIG_FILE || echo "${CRON} echo Come in the water is fine!" >> $CRON_CONFIG_FILE
grep -qF 'echo Turn on the bubbles!' $CRON_CONFIG_FILE || echo "${CRON} echo Turn on the bubbles!" >> $CRON_CONFIG_FILE
grep -qF '@reboot' $CRON_CONFIG_FILE || echo "@reboot echo Let\'s get in the water again!" >> $CRON_CONFIG_FILE
exec crond -f