comment out weekly tweet start

main
Shane 7 months ago
parent a7e7a5dad4
commit f47a9f1249
  1. 18
      manage_scripts.sh

@ -69,15 +69,15 @@ if [ "$1" == "start" ]; then
log "Script foodie_engagement_generator.py not found"
fi
# Start foodie_weekly_thread.py
if [ -f "foodie_weekly_thread.py" ]; then
if ! check_running "foodie_weekly_thread"; then
log "Running foodie_weekly_thread.py..."
"$VENV_PYTHON" "foodie_weekly_thread.py" >> "$BASE_DIR/logs/foodie_weekly_thread.log" 2>&1
log "foodie_weekly_thread.py completed"
fi
else
log "Script foodie_weekly_thread.py not found"
fi
#if [ -f "foodie_weekly_thread.py" ]; then
# if ! check_running "foodie_weekly_thread"; then
# log "Running foodie_weekly_thread.py..."
# "$VENV_PYTHON" "foodie_weekly_thread.py" >> "$BASE_DIR/logs/foodie_weekly_thread.log" 2>&1
# log "foodie_weekly_thread.py completed"
# fi
#else
# log "Script foodie_weekly_thread.py not found"
#fi
log "All scripts started. Ensure cron jobs are enabled for automatic scheduling (crontab -l)."
exit 0
fi

Loading…
Cancel
Save