[SAC] [OSGeo] #2460: dev-argentina cron job

OSGeo trac_osgeo at osgeo.org
Tue May 12 22:28:26 PDT 2020


#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.


More information about the Sac mailing list