referring_restart.sh 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. tmux new -d -s oak_referring
  2. tmux new-window -t oak_referring:0 -d
  3. tmux send-keys -t oak_referring:0 "cd /home/hhh_refer" Enter
  4. tmux send-keys -t oak_referring:0 "python3 yahoo_use2.py" Enter
  5. tmux new-window -t oak_referring:1 -d
  6. tmux send-keys -t oak_referring:1 "cd /home/hhh_refer" Enter
  7. tmux send-keys -t oak_referring:1 "python3 yahoo_use3.py" Enter
  8. tmux new-window -t oak_referring:2 -d
  9. tmux send-keys -t oak_referring:2 "cd /home/hhh_refer" Enter
  10. tmux send-keys -t oak_referring:2 "python3 etoday_use2.py" Enter
  11. tmux new-window -t oak_referring:3 -d
  12. tmux send-keys -t oak_referring:3 "cd /home/hhh_refer" Enter
  13. tmux send-keys -t oak_referring:3 "python3 etoday_use3.py" Enter
  14. tmux new-window -t oak_referring:4 -d
  15. tmux send-keys -t oak_referring:4 "cd /home/hhh_refer" Enter
  16. tmux send-keys -t oak_referring:4 "python3 etoday_use4.py" Enter
  17. #tmux new-window -t oak_referring:5 -d
  18. #tmux send-keys -t oak_referring:5 "cd /home/hhh_refer" Enter
  19. #tmux send-keys -t oak_referring:5 "python3 yahoo_use4.py" Enter
  20. #tmux new-window -t oak_referring:6 -d
  21. #tmux send-keys -t oak_referring:6 "cd /home/hhh_refer" Enter
  22. #tmux send-keys -t oak_referring:6 "python3 etoday_use5.py" Enter
  23. #tmux new-window -t oak_referring:7 -d
  24. #tmux send-keys -t oak_referring:7 "cd /home/hhh_refer" Enter
  25. #tmux send-keys -t oak_referring:7 "python3 yahoo_use5.py" Enter
  26. #tmux new-window -t oak_referring:7 -d
  27. #tmux send-keys -t oak_referring:7 "cd /var/www/oak/HHH_YAHOO" Enter
  28. #tmux send-keys -t oak_referring:7 "python3 leju_use.py" Enter
  29. #tmux new-window -t oak_referring:8 -d
  30. #tmux send-keys -t oak_referring:8 "cd /var/www/oak/HHH_YAHOO" Enter
  31. #tmux send-keys -t oak_referring:8 "python3 leju_use2.py" Enter