Skip to content

The cross-harness, self-improving memory layer for AI agents. Join our community: https://discord.com/invite/zdNChS2fBu

chore(endpoint): run updater during afternoon business hours

shukieshah627a3d3ea134
diff --git a/cli/beacon/internal/endpoint/service/updater.go b/cli/beacon/internal/endpoint/service/updater.go
index 23e52e15..5cc1ddeb 100644
--- a/cli/beacon/internal/endpoint/service/updater.go
+++ b/cli/beacon/internal/endpoint/service/updater.go
@@ -69,7 +69,8 @@ func (m UpdaterManager) Status() Status {
return status
}
-// updaterPlist renders the updater LaunchDaemon. It runs daily and does not
+// updaterPlist renders the updater LaunchDaemon. It runs daily at 2 PM local
+// time and does not
// RunAtLoad or KeepAlive; each invocation resolves the configured mode.
func updaterPlist(label, program string) string {
return fmt.Sprintf(`<?xml version="1.0" encoding="UTF-8"?>
@@ -88,7 +89,7 @@ func updaterPlist(label, program string) string {
<key>StartCalendarInterval</key>
<dict>
<key>Hour</key>
- <integer>3</integer>
+ <integer>14</integer>
<key>Minute</key>
<integer>0</integer>
</dict>
diff --git a/cli/beacon/internal/endpoint/service/updater_test.go b/cli/beacon/internal/endpoint/service/updater_test.go
index 0469e7cf..f19c313c 100644
--- a/cli/beacon/internal/endpoint/service/updater_test.go
+++ b/cli/beacon/internal/endpoint/service/updater_test.go
@@ -15,7 +15,7 @@ func TestUpdaterPlistContent(t *testing.T) {
"<string>--scheduled</string>",
"<key>StartCalendarInterval</key>",
"<key>Hour</key>",
- "<integer>3</integer>",
+ "<integer>14</integer>",
"<key>Minute</key>",
"<integer>0</integer>",
} {