On Wed, Apr 10, 2019 at 5:34 AM <
lot...@gmail.com> wrote:
>
>
>
> On Monday, 1 April 2019 15:46:14 UTC+2, Doug Robinson wrote:
>>
>> Perhaps try "starttime" -> "startTime".
>
> Hi,
>
> I do have 'startTime' in gerrit.config (it's 'git config' that lowercases config keys while displaying).
>
>>
>> On Sunday, March 31, 2019 at 6:04:54 PM UTC-4, Vitaliy Lotorev wrote:
>>>
>>> Hi,
>>>
>>> I have gc, accountdeactivation sections specified in gerrit.config.
>>> Values are taken from Schedule configuration example [1] but while started Gerrit prints errors about invalid schedule configuration, see below.
>>> My gerrit.config:
>>> $ git config -f gerrit/etc/gerrit.config -l |grep -E 'gc|accountdeac'
>>> gc.starttime=6:00
>>> gc.interval=1 day
I also got an error with with this config, and fixed it by changing
the start time to "06:00" i.e. with leading zero on the hour.
>>> accountdeactivation.starttime=Mon 00:15
>>> accountdeactivation.interval=1 week
>>>
I can't see what's wrong with this. The same configuration works for me.
>>> Gerrit version is 2.16.7.
>>> Could some review my configuration, what is wrong with it?
>>>
I have the following in my test config and I'm not seeing any errors:
$ git config -f ~/gerrit_testsite/stable-2.16/etc/gerrit.config -l
|grep -E 'gc|accountdeac'
gc.starttime=06:00
gc.interval=1 day
accountdeactivation.starttime=Mon 00:15
accountdeactivation.interval=1 week
>>> $ docker-compose logs | grep -i ScheduleConfig
>>>
>>> gerrit_1 | [2019-03-31 21:41:21,385] [main] ERROR com.google.gerrit.server.config.ScheduleConfig : Invalid schedule configuration for "accountDeactivation" is ignored.
>>> gerrit_1 | [2019-03-31 21:46:20,651] [ShutdownCallback] ERROR com.google.gerrit.server.config.ScheduleConfig : Invalid schedule configuration for "accountDeactivation" is ignored.
>>> gerrit_1 | [2019-03-31 21:46:39,314] [main] ERROR com.google.gerrit.server.config.ScheduleConfig : Invalid schedule configuration for "gc" is ignored.
>>> gerrit_1 | [2019-03-31 21:46:39,315] [main] INFO com.google.gerrit.server.config.ScheduleConfig : No schedule configuration for "changeCleanup".
>>> gerrit_1 | [2019-03-31 21:48:48,022] [main] ERROR com.google.gerrit.server.config.ScheduleConfig : Invalid schedule configuration for "gc" is ignored.
>>> gerrit_1 | [2019-03-31 21:48:48,022] [main] INFO com.google.gerrit.server.config.ScheduleConfig : No schedule configuration for "changeCleanup".
>>>
>>> [1]
https://10.96.11.58/Documentation/config-gerrit.html#schedule-configuration-examples
>>>
>>> --
>>> Regars,
>>> Vitaliy
>
> --
> --
> To unsubscribe, email
repo-discuss...@googlegroups.com
> More info at
http://groups.google.com/group/repo-discuss?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
repo-discuss...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.