feat(ops): launchd jobs (nightly + market-open) + caffeinate + install scripts

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016DvdRZkyCy9NJpHYDdPqmS
This commit is contained in:
Aryan SinghandClaude Opus 4.8 committed 2026-07-01 16:29:40 -05:00
1 parent 05a8457067
commit afc9106773
8 files changed
+129

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
#!/usr/bin/env bash
# Remove the launchd jobs and print how to clear the wake schedule.
set -euo pipefail
LA="$HOME/Library/LaunchAgents"
for p in caffeinate nightly market_open; do
launchctl unload "$LA/ai.tradingagent.$p.plist" 2>/dev/null || true
rm -f "$LA/ai.tradingagent.$p.plist"
echo "removed ai.tradingagent.$p"
done
echo
echo "Also clear the nightly wake schedule (needs sudo):"
echo " sudo pmset repeat cancel"