Use a small wrapper script (see claude-heartbeat-cron.sh)
Make it executable:
chmod +x ~/.local/bin/claude-heartbeat.shcrontab -eAdd:
0 7 * * * ~/.local/bin/claude-heartbeat-cron.sh
5 12 * * * ~/.local/bin/claude-heartbeat-cron.sh
10 17 * * * ~/.local/bin/claude-heartbeat-cron.sh- No duplication risk from repeated installs
- Logging persists across reboots
- Easy to audit behavior
- Easy to remove
- Works even if your shell environment is minimal