From bcb7f86c0c7f24f8f41883ec620c717a95cdaf36 Mon Sep 17 00:00:00 2001 From: jwansek Date: Fri, 27 Jun 2025 00:24:44 +0100 Subject: Added a separate cron container --- Dockerfile_cron | 11 +++++++++++ cron_entrypoint.sh | 6 ++++++ me.md | 30 ++++++++++++++++++++++++++++++ 3 files changed, 47 insertions(+) create mode 100755 Dockerfile_cron create mode 100644 cron_entrypoint.sh create mode 100644 me.md diff --git a/Dockerfile_cron b/Dockerfile_cron new file mode 100755 index 0000000..dea3208 --- /dev/null +++ b/Dockerfile_cron @@ -0,0 +1,11 @@ +FROM reg.reaweb.uk/edaweb +MAINTAINER Eden Attenborough "eden.attenborough@outlook.com" +ENV TZ=Europe/London +RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone +RUN apt-get update -y +RUN apt-get install -y tmux cron + +RUN echo "*/30 * * * * root python3 /app/edaweb/cache.py > /proc/1/fd/1 2>/proc/1/fd/2" > /etc/crontab + +ENTRYPOINT ["bash"] +CMD ["cron_entrypoint.sh"] diff --git a/cron_entrypoint.sh b/cron_entrypoint.sh new file mode 100644 index 0000000..2d98169 --- /dev/null +++ b/cron_entrypoint.sh @@ -0,0 +1,6 @@ +rm -rvf /app/edaweb/edaweb.conf/ +ln -s /app/edaweb.conf /app/edaweb/edaweb.conf +printenv | grep -v "no_proxy" >> /etc/environment +# tmux new-session -d -s "cron" 'cron -f || bash && bash'; +cron -f + diff --git a/me.md b/me.md new file mode 100644 index 0000000..bbdc338 --- /dev/null +++ b/me.md @@ -0,0 +1,30 @@ +![braindamage](/img/braindamage.png) + +my name is eden and i am a 23yo (boymoder) computer science PhD student. what is a boymoder? [this website](https://boymoder.network/) and [this video](https://www.youtube.com/watch?v=_Gb3XWE886Q) explains it well. my current interests are: + + - homelabbing and devops stuff - [see my setup!](https://wiki.eda.gay/) + - open source programming projects - see my [github](https://github.com/jwansek) + - robotics and localization + - writing [blog posts](https://eda.gay/thoughts) about topics no-one cares about + - being overly online on twitter + - reading yaoi + - collecting (you)s + - engaging in attention-seeking behaviour on imageboards + +![overly online](/img/Ffi1ducXEAArXDg.jpg) + +what i actually look like + +![selfie 2.0](/img/chuddy.jpg?h=1000&w=300) ![chuddy](/img/PXL_20250314_150055804.jpg?h=1000&w=300) + +never let them force you to clean your mirror + + + +## qualifications + +i have (two) masters degrees btw ^-^ + +![graduation](/img/graduation.jpg) + + -- cgit v1.2.3