logoalt Hacker News

NuclearPMyesterday at 5:36 AM2 repliesview on HN

0 7 * * 1-5 ANTHROPIC_API_KEY=sk-... /path/to/claude-cron.sh /path/to/repo >> ~/claude-reports.md 2>&1

Seems trivial.


Replies

esperentyesterday at 6:46 AM

A trivial way to rack up hundreds of dollars in API costs, sure.

But you can set up a claude -p call via a cronjob without too much hassle and that can use subscriptions.

maccardyesterday at 1:30 PM

Sure, now what happens if my laptop is asleep at 7am? Or if our scheduled build took an extra 30 minutes because of contention?

show 1 reply