cd /home/tw/recommendation/offline_tasks # # 查看配置指南 # cat UPDATE_CONFIG_GUIDE.md # 2. 测试连接 # python3 test_connection.py ps -ef|grep run_all.py | awk '{print $2}' | xargs kill -9 ps -ef|grep recommendation | awk '{print $2}' | xargs kill -9 rm output/* -rf rm logs/* -rf # 3. 调试模式运行(小数据量) python3 run_all.py --lookback_days 7 --top_n 10 --debug mv output output_debug mkdir output # # 4. 生产模式运行(大数据量) python3 run_all.py --lookback_days 730 --top_n 50 --debug # 5. 加载到Redis python3 scripts/load_index_to_redis.py --redis-host localhost