Skip to content
Jon Belyeu edited this page Nov 18, 2015 · 2 revisions

#Automatic Data Upload These instructions assume that you will ssh into the worldwater server and use the code that resides there, or that you will have the knowledge required to install the necessary python modules.

The scripts that handle automatic upload are the same ones used for manual upload, with a different set of options chosen. They are hosted on worldwater.byu.edu, the server that also hosts the databases, and run with a crontab command every Monday morning at 1AM.

To access the suite of scripts directly on the server, you'll need to request the password directly from Jiri Kadlec or Jon Belyeu beforehand. Then ssh into worldwater.byu.edu with username "WWO_Admin". Navigate with "cd" to the decagonUpload directory. It contains the scripts, logs, validation information, and a clone of this repository (it was simpler to set up the repo in a separate directory and copy the files from it to avoid confusion with the log files being in the repo).

###Cron To edit the crontab, use

crontab -e

###Logs Logs are generated each time the upload runs. Only the newest 14 logs are saved each time.

Clone this wiki locally