Skip to content
This repository has been archived by the owner on Nov 4, 2022. It is now read-only.

Commit

Permalink
Set working dir for publishing jobs
Browse files Browse the repository at this point in the history
We're no longer installing the ODP as a package, so the publishing jobs must start in the ODP directory to be able to find the 'odp' package.
  • Loading branch information
marksparkza committed Aug 27, 2021
1 parent 08b340c commit aacfe93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deploy/datacite-publisher/crontab
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion deploy/odp-publisher/crontab
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit aacfe93

Please sign in to comment.