From 197293784140a7b1b961bdd1748c52424758f034 Mon Sep 17 00:00:00 2001 From: Emanuel Almeida Date: Wed, 4 Feb 2026 23:16:55 +0000 Subject: [PATCH] fix: Escape cron syntax in JSDoc comments to prevent early termination --- api/scripts/check-sites.ts | 2 +- api/scripts/hetzner-collector.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/scripts/check-sites.ts b/api/scripts/check-sites.ts index ce06bd2..4503931 100644 --- a/api/scripts/check-sites.ts +++ b/api/scripts/check-sites.ts @@ -7,7 +7,7 @@ * npx tsx api/scripts/check-sites.ts * * Cron example (every 10 minutes): - * */10 * * * * cd /path/to/DashDescomplicar && npx tsx api/scripts/check-sites.ts >> /var/log/check-sites.log 2>&1 + * 0,10,20,30,40,50 * * * * cd /path/to/DashDescomplicar && npx tsx api/scripts/check-sites.ts * * @author Descomplicar | @link descomplicar.pt | @copyright 2026 */ diff --git a/api/scripts/hetzner-collector.ts b/api/scripts/hetzner-collector.ts index 437ab7f..e5f2ff6 100644 --- a/api/scripts/hetzner-collector.ts +++ b/api/scripts/hetzner-collector.ts @@ -10,7 +10,7 @@ * npx tsx api/scripts/hetzner-collector.ts --all # Sync + Collect + Cleanup * * Cron example (every 5 minutes): - * */5 * * * * cd /path/to/DashDescomplicar && npx tsx api/scripts/hetzner-collector.ts >> /var/log/hetzner-collector.log 2>&1 + * 0,5,10,15,20,25,30,35,40,45,50,55 * * * * cd /path/to/DashDescomplicar && npx tsx api/scripts/hetzner-collector.ts * * @author Descomplicar | @link descomplicar.pt | @copyright 2026 */