Add functionality to only update top tickers.
This commit is contained in:
@@ -8,9 +8,10 @@ source /home/pkhamre/git/rstat/.venv/bin/activate
|
||||
|
||||
echo "--- Starting RSTAT Daily Job on $(date +%F) ---"
|
||||
|
||||
# 1. Scrape data from the last 24 hours.
|
||||
# 1. Scrape data from the last 24 hours and update price for top tickers.
|
||||
echo "Step 1: Scraping new data..."
|
||||
rstat -c 250
|
||||
rstat --no-financials --comments 256
|
||||
rstat --update-top-tickers
|
||||
|
||||
# 2. Start the dashboard in the background.
|
||||
echo "Step 2: Starting dashboard in background..."
|
||||
@@ -30,4 +31,4 @@ python post_to_reddit.py --target-subreddit rstat
|
||||
echo "Step 5: Stopping dashboard server..."
|
||||
kill $DASHBOARD_PID
|
||||
|
||||
echo "--- RSTAT Daily Job Complete ---"
|
||||
echo "--- RSTAT Daily Job Complete ---"
|
||||
|
Reference in New Issue
Block a user