diff --git a/projects/curl.md b/projects/curl.md index e2a1155..996f131 100644 --- a/projects/curl.md +++ b/projects/curl.md @@ -88,4 +88,14 @@ curl -I "https://prod-grants-gov-chatbot.s3.amazonaws.com/extracts/GrantsDBExtra ``` ```bash 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 ``` \ No newline at end of file