aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/newspipe_cron3
-rwxr-xr-xcontrib/newspipe_cron.sh3
2 files changed, 6 insertions, 0 deletions
diff --git a/contrib/newspipe_cron b/contrib/newspipe_cron
new file mode 100644
index 0000000..441361e
--- /dev/null
+++ b/contrib/newspipe_cron
@@ -0,0 +1,3 @@
+# File: newspipe_cron
+# Project: newspipe-docker
+25 3,15 * * * root /home/newspipe/newspipe-docker/contrib/newspipe_cron.sh 1>/dev/null 2>&1 &
diff --git a/contrib/newspipe_cron.sh b/contrib/newspipe_cron.sh
new file mode 100755
index 0000000..2b9e8f1
--- /dev/null
+++ b/contrib/newspipe_cron.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd ~/newspipe-docker
+docker-compose exec newspipe /usr/bin/poetry run flask fetch_asyncio
bgstack15