logoalt Hacker News

NuclearPMtoday at 5:36 AM1 replyview 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

esperenttoday 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.