mirror of
				https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
				synced 2025-11-03 23:23:53 +01:00 
			
		
		
		
	a
This commit is contained in:
		@@ -45,7 +45,10 @@ scheduler.add_job(                  # on relance le job
 | 
			
		||||
 | 
			
		||||
def start_ms(i):
 | 
			
		||||
    print("\033[32m" + f"Starting config {i}" + "\033[0m")
 | 
			
		||||
    log = open(f"/app/user_data/logs/{i}.txt", 'a')  # so that data written to it will be appended
 | 
			
		||||
    try : 
 | 
			
		||||
        log = open(f"/app/user_data/logs/{i}.txt", 'a')  # so that data written to it will be appended
 | 
			
		||||
    except:
 | 
			
		||||
        log = open(f"/app/user_data/logs/{i}.txt", 'w')  # so that data written to it will be appended
 | 
			
		||||
    subprocess.Popen(["python3",'-u' ,"/app/MsRewards-Reborn/V6.py", "-c", i], stdout=log, stderr=log, shell=True)
 | 
			
		||||
    log.close()
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user