playing with cron

This commit is contained in:
Andreas Neue 2023-01-04 15:28:29 +01:00
parent 0bdd5fa243
commit 7823c37c8a
1 changed files with 3 additions and 5 deletions

View File

@ -1,11 +1,9 @@
MANDATORY-cron =
pre-deploy-cron:
post-deploy-cron:
start-cron:
ssh $(SSH_USER)@$(host) 'crontab -l | sed "/^#make-deploy-cron:$(DEPLOY_NAME)/,+1 d" | { cat; echo "#ck-deploy-cron:$(DEPLOY_NAME)"; cat "$(DEPLOY_NAME)/crontab"; } | crontab -'
stop-cron:
ssh $(SSH_USER)@$(host) 'crontab -l | sed "/^#make-deploy-cron:$(DEPLOY_NAME)/,+1 d" | crontab -'