#2460: dev-argentina cron job
---------------------------+-----------------------
Reporter: cvvergara | Owner: sac@…
Type: task | Status: new
Priority: normal | Milestone: Unplanned
Component: Systems Admin | Keywords:
---------------------------+-----------------------
Create cron job such that when staging branch of
https://git.osgeo.org/gitea/osgeo.ar/www_argentina
every 5 minutes there is a Pull so that changes can be seen in
https://dev.argentina.osgeo.org/
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2460>
OSGeo <https://osgeo.org/>
OSGeo committee and general foundation issue tracker.
#2460: dev-argentina cron job
---------------------------+---------------------------------------
Reporter: cvvergara | Owner: sac@…
Type: task | Status: closed
Priority: normal | Milestone: Sysadmin Contract 2020-I
Component: Systems Admin | Resolution: fixed
Keywords: |
---------------------------+---------------------------------------
Changes (by robe):
* status: new => closed
* resolution: => fixed
* milestone: Unplanned => Sysadmin Contract 2020-I
Comment:
Added to cron job to refresh every 5 minutes.
Had issue with the first git pull cause it was complaining about something
orphaned
I did a in wordpress-dev (on osgeo4)
{{{
cd /var/www/argentina.osgeo.org
git gc
git prune
git pull
}}}
To fix.
The script that does the 5 minute pull is
/var/www/backups/scripts/git_pull_argentina.sh
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2460#comment:1>
OSGeo <https://osgeo.org/>
OSGeo committee and general foundation issue tracker.