referring_restart_day.sh 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. #tmux kill-session -t oak_referring
  2. tmux new -d -s oak_referring
  3. tmux new-window -t oak_referring:0 -d
  4. tmux send-keys -t oak_referring:0 C-c
  5. tmux send-keys -t oak_referring:0 C-c
  6. tmux send-keys -t oak_referring:0 C-c
  7. tmux send-keys -t oak_referring:0 C-c
  8. tmux send-keys -t oak_referring:0 "python3 /home/hhh_refer/yahoo_use2.py" Enter
  9. tmux new-window -t oak_referring:1 -d
  10. tmux send-keys -t oak_referring:1 C-c
  11. tmux send-keys -t oak_referring:1 C-c
  12. tmux send-keys -t oak_referring:1 C-c
  13. tmux send-keys -t oak_referring:1 C-c
  14. tmux send-keys -t oak_referring:1 "python3 /home/hhh_refer/yahoo_use3.py" Enter
  15. tmux new-window -t oak_referring:2 -d
  16. tmux send-keys -t oak_referring:2 C-c
  17. tmux send-keys -t oak_referring:2 C-c
  18. tmux send-keys -t oak_referring:2 C-c
  19. tmux send-keys -t oak_referring:2 C-c
  20. tmux send-keys -t oak_referring:2 "python3 /home/hhh_refer/etoday_use2.py" Enter
  21. tmux new-window -t oak_referring:3 -d
  22. tmux send-keys -t oak_referring:3 C-c
  23. tmux send-keys -t oak_referring:3 C-c
  24. tmux send-keys -t oak_referring:3 C-c
  25. tmux send-keys -t oak_referring:3 C-c
  26. tmux send-keys -t oak_referring:3 "python3 /home/hhh_refer/etoday_use3.py" Enter
  27. tmux new-window -t oak_referring:4 -d
  28. tmux send-keys -t oak_referring:4 C-c
  29. tmux send-keys -t oak_referring:4 C-c
  30. tmux send-keys -t oak_referring:4 C-c
  31. tmux send-keys -t oak_referring:4 C-c
  32. tmux send-keys -t oak_referring:4 "python3 /home/hhh_refer/etoday_use4.py" Enter
  33. tmux new-window -t oak_referring:5 -d
  34. tmux send-keys -t oak_referring:5 C-c
  35. tmux send-keys -t oak_referring:5 C-c
  36. tmux send-keys -t oak_referring:5 C-c
  37. tmux send-keys -t oak_referring:5 C-c
  38. tmux send-keys -t oak_referring:5 "python3 /home/hhh_refer/yahoo_use4.py" Enter
  39. #tmux new-window -t oak_referring:6 -d
  40. #tmux send-keys -t oak_referring:6 C-c
  41. #tmux send-keys -t oak_referring:6 C-c
  42. #tmux send-keys -t oak_referring:6 "cd /home/hhh_refer" Enter
  43. #tmux send-keys -t oak_referring:6 "python3 etoday_use5.py" Enter
  44. #tmux new-window -t oak_referring:7 -d
  45. #tmux send-keys -t oak_referring:7 C-c
  46. #tmux send-keys -t oak_referring:7 C-c
  47. #tmux send-keys -t oak_referring:7 "cd /home/hhh_refer" Enter
  48. #tmux send-keys -t oak_referring:7 "python3 yahoo_use5.py" Enter
  49. #tmux new-window -t oak_referring:7 -d
  50. #tmux send-keys -t oak_referring:7 "cd /var/www/oak/HHH_YAHOO" Enter
  51. #tmux send-keys -t oak_referring:7 "python3 leju_use.py" Enter
  52. #tmux new-window -t oak_referring:8 -d
  53. #tmux send-keys -t oak_referring:8 "cd /var/www/oak/HHH_YAHOO" Enter
  54. #tmux send-keys -t oak_referring:8 "python3 leju_use2.py" Enter