playing with cron
This commit is contained in:
parent
0bdd5fa243
commit
7823c37c8a
6
cron.mk
6
cron.mk
|
@ -1,11 +1,9 @@
|
||||||
MANDATORY-cron =
|
MANDATORY-cron =
|
||||||
pre-deploy-cron:
|
|
||||||
|
|
||||||
post-deploy-cron:
|
|
||||||
|
|
||||||
start-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:
|
stop-cron:
|
||||||
|
ssh $(SSH_USER)@$(host) 'crontab -l | sed "/^#make-deploy-cron:$(DEPLOY_NAME)/,+1 d" | crontab -'
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue