Script for upload observations within SOS server
INSTRUCTION
-
git clone https://github.com/IREA-CNR-MI/SOSUploadObservations.git
-
cd SOSUploadObservations
-
chmod a+x upload_observations.sh post.sos.sh
-
Edit upload_observations.sh:
- modify the directory where to download the file XML
- modify the URL of SOS where upload these files
TASK SCHEDULING
-
Move the folder SOSUploadObservations in /root
-
Edit upload_observations.sh and modify the path where scripts are saved
-
Set crontab