From f308a8105ef467476b376d7d8b98c020fcdb8ca5 Mon Sep 17 00:00:00 2001 From: Axel Meyer Date: Sat, 14 Feb 2026 15:54:30 +0000 Subject: [PATCH] Fix block comment syntax error from cron example The */5 in the cron example inside the JSDoc block comment was parsed as end-of-comment, causing a SyntaxError. Replaced with a reference to install.sh. Co-Authored-By: Claude Opus 4.6 --- fetch-usage.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fetch-usage.js b/fetch-usage.js index c62facd..0bfd4d2 100755 --- a/fetch-usage.js +++ b/fetch-usage.js @@ -17,8 +17,7 @@ * * Output: Writes JSON to $CLAUDE_USAGE_CACHE or /tmp/claude_usage.json * - * Cron example (every 5 min): - * */5 * * * * /usr/bin/node /path/to/fetch-usage.js 2>/dev/null + * Cron: every 5 min (see install.sh or README for crontab line) */ const fs = require('fs'); const path = require('path');