Update projects/curl.md
This commit is contained in:
@@ -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
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user