Skip to content

Commit

Permalink
Merge pull request #131 from partio-scout/technical/fetch-from-kuksa-…
Browse files Browse the repository at this point in the history
…cron

Fix fetch-from-kuksa cron job by setting working directory
  • Loading branch information
pompost authored Jul 17, 2016
2 parents 6902b1e + 8c7e154 commit 50a9601
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .openshift/cron/hourly/fetch-from-kuksa
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/bash
echo '*** Fetch data from Kuksa ***' >> ${OPENSHIFT_LOG_DIR}/fetch-from-kuksa.log
date >> ${OPENSHIFT_LOG_DIR}/fetch-from-kuksa.log
cd ${OPENSHIFT_REPO_DIR}
npm run fetch-from-kuksa >> ${OPENSHIFT_LOG_DIR}/fetch-from-kuksa.log
echo '*** Fetch complete ***' >> ${OPENSHIFT_LOG_DIR}/fetch-from-kuksa.log

0 comments on commit 50a9601

Please sign in to comment.