test DB
This commit is contained in:
		
							parent
							
								
									fc5bc7cc5f
								
							
						
					
					
						commit
						9b7310beeb
					
				| 
						 | 
				
			
			@ -52,8 +52,8 @@ const sendNotification = async () => {
 | 
			
		|||
        log += stderr;
 | 
			
		||||
      }
 | 
			
		||||
    });
 | 
			
		||||
console.log({auto1: auto1, auto2:auto2, log: log})
 | 
			
		||||
    setTimeout(async () => {
 | 
			
		||||
        console.log({auto1: auto1, auto2:auto2, log: log})
 | 
			
		||||
      if (process.argv[2] === "interval") {
 | 
			
		||||
        if (log.includes("succeeded") === false) {
 | 
			
		||||
          exec("pm2 restart all", (error, stdout, stderr) => {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue