woodRock / psychic-invention

NZODN Data Ingestion Project
0 stars 0 forks source link

Cronjob for Fisheries #28

Closed woodRock closed 3 years ago

woodRock commented 3 years ago

Goal

Create a crontab for the fisheries datastream.

Tasklist

Success Criteria

There is a crontab that has been created for the fisheries datastream.

woodRock commented 3 years ago

We added this to the crontab for the robot service account.

4 10 * * * /home/robot/aodn/import/fisheries/bin/loadAllFisheriesData.sh -c /home/robot/aodn/import/fisheries/config/prod.ini >> /tmp/nzodn-fisheries-import.log

4 minutes after 10 am every day, this cronjob is run. The fisheries data is ingested into the NZODN portal.