diff --git a/deploy/datacite-publisher/crontab b/deploy/datacite-publisher/crontab index 4cbf9943..894378a4 100644 --- a/deploy/datacite-publisher/crontab +++ b/deploy/datacite-publisher/crontab @@ -1 +1 @@ -*/DATACITE_PUBLISH_JOB_INTERVAL * * * * /usr/local/bin/python -m odp.publish.datacite >/tmp/stdout 2>&1 +*/DATACITE_PUBLISH_JOB_INTERVAL * * * * cd /srv/Open-Data-Platform && /usr/local/bin/python -m odp.publish.datacite >/tmp/stdout 2>&1 diff --git a/deploy/odp-publisher/crontab b/deploy/odp-publisher/crontab index e7f9c973..e781bf6c 100644 --- a/deploy/odp-publisher/crontab +++ b/deploy/odp-publisher/crontab @@ -1 +1 @@ -*/ODP_PUBLISH_JOB_INTERVAL * * * * /usr/local/bin/python -m odp.publish.main >/tmp/stdout 2>&1 +*/ODP_PUBLISH_JOB_INTERVAL * * * * cd /srv/Open-Data-Platform && /usr/local/bin/python -m odp.publish.main >/tmp/stdout 2>&1