- Recently, my partner gave a great idea for utilising my old Kindle: generate a “newspaper” each morning from a bunch of RSS feeds, and email it to the Kindle using...
-
-
-
- I was trying to rescan the files in my Nextcloud server (running on Raspberry Pi 4 with DietPi), and kept running into some weird php errors. First error - “could...
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/_site/blog/tag/cron/index.html b/_site/blog/tag/cron/index.html
index ee90b98..e69de29 100644
--- a/_site/blog/tag/cron/index.html
+++ b/_site/blog/tag/cron/index.html
@@ -1,142 +0,0 @@
-
-
-
-
-
-
-
-
-
- andrew conlin
-
-
-
-
-
-
-
-
- Recently, my partner gave a great idea for utilising my old Kindle: generate a “newspaper” each morning from a bunch of RSS feeds, and email it to the Kindle using...
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/_site/blog/tag/docker-compose/index.html b/_site/blog/tag/docker-compose/index.html
index 4647c1b..e69de29 100644
--- a/_site/blog/tag/docker-compose/index.html
+++ b/_site/blog/tag/docker-compose/index.html
@@ -1,156 +0,0 @@
-
-
-
-
-
-
-
-
-
- andrew conlin
-
-
-
-
-
-
-
-
- Recently, my partner gave a great idea for utilising my old Kindle: generate a “newspaper” each morning from a bunch of RSS feeds, and email it to the Kindle using...
-
-
-
- I was trying to rescan the files in my Nextcloud server (running on Raspberry Pi 4 with DietPi), and kept running into some weird php errors. First error - “could...
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/_site/blog/tag/docker/index.html b/_site/blog/tag/docker/index.html
index 258c54d..e69de29 100644
--- a/_site/blog/tag/docker/index.html
+++ b/_site/blog/tag/docker/index.html
@@ -1,156 +0,0 @@
-
-
-
-
-
-
-
-
-
- andrew conlin
-
-
-
-
-
-
-
-
- Recently, my partner gave a great idea for utilising my old Kindle: generate a “newspaper” each morning from a bunch of RSS feeds, and email it to the Kindle using...
-
-
-
- I was trying to rescan the files in my Nextcloud server (running on Raspberry Pi 4 with DietPi), and kept running into some weird php errors. First error - “could...
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/_site/blog/tag/kindle/index.html b/_site/blog/tag/kindle/index.html
index de82cd3..e69de29 100644
--- a/_site/blog/tag/kindle/index.html
+++ b/_site/blog/tag/kindle/index.html
@@ -1,142 +0,0 @@
-
-
-
-
-
-
-
-
-
- andrew conlin
-
-
-
-
-
-
-
-
- Recently, my partner gave a great idea for utilising my old Kindle: generate a “newspaper” each morning from a bunch of RSS feeds, and email it to the Kindle using...
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/_site/blog/tag/nextcloud/index.html b/_site/blog/tag/nextcloud/index.html
index e291941..e69de29 100644
--- a/_site/blog/tag/nextcloud/index.html
+++ b/_site/blog/tag/nextcloud/index.html
@@ -1,142 +0,0 @@
-
-
-
-
-
-
-
-
-
- andrew conlin
-
-
-
-
-
-
-
-
- I was trying to rescan the files in my Nextcloud server (running on Raspberry Pi 4 with DietPi), and kept running into some weird php errors. First error - “could...
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/_site/blog/tag/php/index.html b/_site/blog/tag/php/index.html
index f5b08e0..e69de29 100644
--- a/_site/blog/tag/php/index.html
+++ b/_site/blog/tag/php/index.html
@@ -1,142 +0,0 @@
-
-
-
-
-
-
-
-
-
- andrew conlin
-
-
-
-
-
-
-
-
- I was trying to rescan the files in my Nextcloud server (running on Raspberry Pi 4 with DietPi), and kept running into some weird php errors. First error - “could...
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/_site/blog/tag/python/index.html b/_site/blog/tag/python/index.html
index 57ff9ee..e69de29 100644
--- a/_site/blog/tag/python/index.html
+++ b/_site/blog/tag/python/index.html
@@ -1,142 +0,0 @@
-
-
-
-
-
-
-
-
-
- andrew conlin
-
-
-
-
-
-
-
-
- Recently, my partner gave a great idea for utilising my old Kindle: generate a “newspaper” each morning from a bunch of RSS feeds, and email it to the Kindle using...
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/_site/feed.xml b/_site/feed.xml
index efbb6a4..f2957c2 100644
--- a/_site/feed.xml
+++ b/_site/feed.xml
@@ -1,4 +1,4 @@
-Jekyll2023-08-06T13:45:24+01:00http://localhost:4000/feed.xmlAndrew ConlinRunning a Python script periodically in a Docker container using cron2023-04-19T00:00:00+01:002023-04-19T00:00:00+01:00http://localhost:4000/til/running-python-in-cron-in-dockerRecently, my partner gave a great idea for utilising my old Kindle: generate a “newspaper” each morning from a bunch of RSS feeds, and email it to the Kindle using “Send-to-Kindle” feature (a blog post about this project is in the works).
+Jekyll2023-08-06T18:05:21+01:00http://localhost:4000/feed.xmlAndrew ConlinRunning a Python script periodically in a Docker container using cron2023-04-19T00:00:00+01:002023-04-19T00:00:00+01:00http://localhost:4000/til/running-python-in-cron-in-dockerRecently, my partner gave a great idea for utilising my old Kindle: generate a “newspaper” each morning from a bunch of RSS feeds, and email it to the Kindle using “Send-to-Kindle” feature (a blog post about this project is in the works).
I loved this idea, and thought it would be no problem to get a Python script up and running periodically on my Raspberry Pi home server using cron. However, I ran into various issues along the way (some of which were not so easy to resolve), so I’m collating all the configuration changes I made in the hopes that it will be useful to someone one day. You can find the full repo for this project here, and I have also included my Dockerfile, docker-compose.yml and crontab at the end of this TIL.
diff --git a/_site/feed/til.xml b/_site/feed/til.xml
index 2cd942f..a441047 100644
--- a/_site/feed/til.xml
+++ b/_site/feed/til.xml
@@ -1,4 +1,4 @@
-Jekyll2023-08-06T13:45:24+01:00http://localhost:4000/feed/til.xml | TilAndrew ConlinRunning a Python script periodically in a Docker container using cron2023-04-19T00:00:00+01:002023-04-19T00:00:00+01:00http://localhost:4000/til/running-python-in-cron-in-dockerRecently, my partner gave a great idea for utilising my old Kindle: generate a “newspaper” each morning from a bunch of RSS feeds, and email it to the Kindle using “Send-to-Kindle” feature (a blog post about this project is in the works).
+Jekyll2023-08-06T18:05:21+01:00http://localhost:4000/feed/til.xml | TilAndrew ConlinRunning a Python script periodically in a Docker container using cron2023-04-19T00:00:00+01:002023-04-19T00:00:00+01:00http://localhost:4000/til/running-python-in-cron-in-dockerRecently, my partner gave a great idea for utilising my old Kindle: generate a “newspaper” each morning from a bunch of RSS feeds, and email it to the Kindle using “Send-to-Kindle” feature (a blog post about this project is in the works).
I loved this idea, and thought it would be no problem to get a Python script up and running periodically on my Raspberry Pi home server using cron. However, I ran into various issues along the way (some of which were not so easy to resolve), so I’m collating all the configuration changes I made in the hopes that it will be useful to someone one day. You can find the full repo for this project here, and I have also included my Dockerfile, docker-compose.yml and crontab at the end of this TIL.