aboutsummaryrefslogtreecommitdiffstats
path: root/bin/run-hourly
diff options
context:
space:
mode:
Diffstat (limited to 'bin/run-hourly')
-rwxr-xr-xbin/run-hourly10
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/run-hourly b/bin/run-hourly
new file mode 100755
index 0000000..bdff6bb
--- /dev/null
+++ b/bin/run-hourly
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+cd /srv/scraper/postjournaler
+
+for scraper in $(grep '# Run: hourly' scrapersources/*|cut -d: -f1|cut -d/ -f2); do
+ echo
+ echo $scraper
+ echo
+ time ./run-scraper $scraper
+done