Update projects/curl.md

This commit is contained in:
2025-08-01 05:29:21 -05:00
parent d1187451a7
commit 55b660b341

View File

@@ -89,3 +89,13 @@ curl -I "https://prod-grants-gov-chatbot.s3.amazonaws.com/extracts/GrantsDBExtra
```bash ```bash
watch -n 1 'ls -l /home/medusa/grants_extracts/; tail -n 5 /home/medusa/cron.log' watch -n 1 'ls -l /home/medusa/grants_extracts/; tail -n 5 /home/medusa/cron.log'
``` ```
```bash
# Simulate running at 03:30 CDT (before release):
TZ="$SERVER_TZ" date -d "2025-08-02 03:30" +%H && ./download_grants.sh
# Should fetch yesterday's file
# Simulate 03:45 CDT (after release):
TZ="$SERVER_TZ" date -d "2025-08-02 03:45" +%H && ./download_grants.sh
# Should fetch today's file
```