From b6548b355d81380d153860761f38df6492cd5de4 Mon Sep 17 00:00:00 2001 From: Andreas Neue Date: Wed, 4 Jan 2023 16:01:17 +0100 Subject: [PATCH] cron.mk is now working as intended --- cron.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cron.mk b/cron.mk index dd77dab..93047d5 100644 --- a/cron.mk +++ b/cron.mk @@ -4,7 +4,7 @@ start-cron: @- echo "\n### starting..." @- $(foreach host,$(DEPLOY_HOSTS), \ 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: