cron.mk is now working as intended
This commit is contained in:
		
							parent
							
								
									6ab7c531e1
								
							
						
					
					
						commit
						b6548b355d
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								cron.mk
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								cron.mk
									
										
									
									
									
								
							| 
						 | 
					@ -4,7 +4,7 @@ start-cron:
 | 
				
			||||||
	@- echo "\n### starting..."
 | 
						@- echo "\n### starting..."
 | 
				
			||||||
	@- $(foreach host,$(DEPLOY_HOSTS), \
 | 
						@- $(foreach host,$(DEPLOY_HOSTS), \
 | 
				
			||||||
		echo "$(host)"; \
 | 
							echo "$(host)"; \
 | 
				
			||||||
		ssh $(SSH_USER)@$(host) "crontab -l | sed \"/^#ck-deploy-cron:$(DEPLOY_NAME)/,+1 d\" | { cat; echo \"#ck-deploy-cron:$(DEPLOY_NAME)\"; cat \"$(DEPLOY_PATH)/$(DEPLOY_NAME)/crontab\"; } | crontab -"; \
 | 
							ssh $(SSH_USER)@$(host) "crontab -l | sed \"/^#make-deploy-cron:$(DEPLOY_NAME)/,+1 d\" | { cat; echo \"#make-deploy-cron:$(DEPLOY_NAME)\"; cat \"$(DEPLOY_PATH)/$(DEPLOY_NAME)/crontab\"; } | crontab -"; \
 | 
				
			||||||
	)
 | 
						)
 | 
				
			||||||
	
 | 
						
 | 
				
			||||||
stop-cron:
 | 
					stop-cron:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue