Since I raised this issue we've actually switched to a Linux server so the 
mechanism is slightly different.  When I view my support page I see:

      "-Dgo.config.repo.gc.periodic\u003dY",
      "-Dgo.config.repo.gc.cron\u003d0 0 7 1/1 \\* \\?",


Which makes me think I've got an issue with escape characters, as yours looks 
like a real cron expression.


I followed the doc's with their comments on escaping special characters


(added to /etc/defaults/go-server):


GO_SERVER_SYSTEM_PROPERTIES="$GO_SERVER_SYSTEM_PROPERTIES 
-Dgo.config.repo.gc.periodic=Y -Dgo.config.repo.gc.cron='0 0 7 1/1 \* \?'" 


On Thursday, 19 May 2016 08:56:55 UTC+1, Chris Tamlyn wrote:
>
> We started to get an error in GO around Garabge collection which directs 
> us to this link:
>
> https://docs.go.cd/current/advanced_usage/config_repo.html
>
> Has anyone else implemented this in Go before?  I'm not sure that I'm 
> reading the documentation correctly on how to set it up for GO.  I've read 
> it as you need to add those properties to your 'wrapper-properties' file 
> (we run on Windows).  So I've added the following 3 settings:
>
> go.config.repo.gc.periodic=Y
> go.config.repo.gc.aggressive=Y
> go.config.repo.gc.cron=0 0 7 ? * SUN
>
> But I wasn't sure if this was the correct place of if they should be 
> Windows Environment variables.  Has anyone got any experience setting this 
> up and could help guide us?
>
> Many Thanks
>
> Chris
>

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to go-cd+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to