Skip to content

Commit

Permalink
refine cronfile
Browse files Browse the repository at this point in the history
  • Loading branch information
justb4 committed Apr 25, 2016
1 parent 3795c37 commit e62529c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions docker/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ sudo pip install docker-compose
sudo apt-get install -y emacs24-nox
sudo apt-get install -y postgresql-client-9.3

sudo mkdir -p /var/smartem/log

# The rest
# Github
sudo mkdir -p /opt/geonovum/smartem
Expand Down
6 changes: 5 additions & 1 deletion docs/platform/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,11 @@ Uses the ``geonovum/stetl`` image with Stetl config from GitHub. ::
# before first run do ./db-init.sh to create DB schema and tables

The ``last.sh`` script is a wrapper to run the generic Docker ``geonovum/stetl`` with our
local ETL-config and PostGIS.
local ETL-config and PostGIS:

.. literalinclude:: ../../etl/last.sh
:language: bash


Apache2
~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion services/cronfile.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ SMARTEM=/opt/geonovum/smartem/git
# m h dom mon dow user command

# Run last measurements Smartemission
*/3 * * * * cd $SMARTEM/etl; ./last.sh > /var/smartem/log/smartem_last.log 2>&1
*/3 * * * * cd $SMARTEM/etl; ./last.sh > /var/smartem/log/etl/smartem_last.log 2>&1

# refresh smartem website
# */4 * * * * cd $SMARTEM; ./refresh-git.sh

0 comments on commit e62529c

Please sign in to comment.