Opened 4 years ago

Closed 4 years ago

#2460 closed task (fixed)

dev-argentina cron job

Reported by: cvvergara Owned by: sac@…
Priority: normal Milestone: Sysadmin Contract 2020-I
Component: SysAdmin Keywords:
Cc:

Description

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/

Change History (1)

comment:1 by robe, 4 years ago

Milestone: UnplannedSysadmin Contract 2020-I
Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.