From 9e6a2f7559839a0b7f25f1f556ddeac146640418 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Tue, 25 Sep 2018 23:07:03 +0300 Subject: [PATCH] contrib/dspace-statistics-indexer.timer: Fix syntax You can test OnCalendar strings using systemd-analyze calendar, eg: # systemd-analyze calendar '*-*-* 06:00:00,18:00:00' Failed to parse calendar specification '*-*-* 06:00:00,18:00:00': Invalid argument # systemd-analyze calendar '*-*-* 06,18:00:00' Normalized form: *-*-* 06,18:00:00 Next elapse: Wed 2018-09-26 06:00:00 EEST (in UTC): Wed 2018-09-26 03:00:00 UTC From now: 6h left --- contrib/dspace-statistics-indexer.timer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/dspace-statistics-indexer.timer b/contrib/dspace-statistics-indexer.timer index d66df37..84bd326 100644 --- a/contrib/dspace-statistics-indexer.timer +++ b/contrib/dspace-statistics-indexer.timer @@ -3,7 +3,7 @@ Description=DSpace Statistics Indexer [Timer] # twice a day, at 6AM and 6PM -OnCalendar=*-*-* 06:00:00,18:00:00 +OnCalendar=*-*-* 06,18:00:00 # Add a random delay of 0–3600 seconds RandomizedDelaySec=3600 Persistent=true