Add background processing daemon incase CRON is unavailable
This commit is contained in:
		
							parent
							
								
									b7fda453ab
								
							
						
					
					
						commit
						bddbdbad14
					
				
							
								
								
									
										8
									
								
								src/miniqd.py
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										8
									
								
								src/miniqd.py
									
									
									
									
									
										Executable file
									
								
							@ -0,0 +1,8 @@
 | 
			
		||||
#!/usr/bin/env python3
 | 
			
		||||
 | 
			
		||||
import time
 | 
			
		||||
import os
 | 
			
		||||
 | 
			
		||||
while True:
 | 
			
		||||
    os.system('python3 process_jobs.py')
 | 
			
		||||
    time.sleep(60)
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user