-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathruncommand.py
15 lines (15 loc) · 1006 Bytes
/
runcommand.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from subprocess import Popen, check_call, call
from sys import platform
if platform == "linux" or platform == "linux2":
pyexe = "venv/bin/python"
elif platform == "win32":
pyexe = "venv/Scripts/python.exe"
fname = open("logs/command1.log", "w")
process = Popen([pyexe, "modules/resybotv5b.py", "-u", "https://resy.com/cities/new-york-ny/venues/coqodaq", "-d", "2024-08-22", "-t", "3:00 PM", "-s", "2", "-r", "<Not Set>", "-cp", "resyfarid2@proton.me", "-rd", "2024-08-17", "-rt", "8:51:38 PM", "-rh", "0", "-rn", "Yes", "-ns", "Yes", "-dr", "0", "-up", "smart1", "-re", "3", "-mn", "5", "-mx", "10"
], stdout=fname)
print(process.pid)
#pid server = 22685
#time = 02:35:54
#06:47:34
#ip 180.243.36.244
# python modules/resybotv5.py -u "https://resy.com/cities/orlando-fl/venues/kabooki-sushi-east-colonial" -d "2024-08-22" -t "5:15 PM" -s "2" -r "<Not Set>" -cp "resyfarid2@proton.me" -rd "2024-08-17" -rt "8:51:38 PM" -rh "0" -rn "Yes" -ns "Yes" -dr "0" -up "<Not Set>" -re "3" -mn "5" -mx "10"