aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/run-daily2
-rwxr-xr-xbin/run-hourly2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/run-daily b/bin/run-daily
index a70cb95..e362e3a 100755
--- a/bin/run-daily
+++ b/bin/run-daily
@@ -1,6 +1,6 @@
#!/bin/sh
-cd /srv/scraper/postjournaler
+cd $(dirname $0)/..
for scraper in $(grep '# Run: daily' scrapersources/*|cut -d: -f1|cut -d/ -f2); do
echo
diff --git a/bin/run-hourly b/bin/run-hourly
index bdff6bb..337df2b 100755
--- a/bin/run-hourly
+++ b/bin/run-hourly
@@ -1,6 +1,6 @@
#!/bin/sh
-cd /srv/scraper/postjournaler
+cd $(dirname $0)/..
for scraper in $(grep '# Run: hourly' scrapersources/*|cut -d: -f1|cut -d/ -f2); do
echo