X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=scripts%2FMakefile;h=fced5b58d93a878c2faa360b16fc1d86249b540b;hb=a8aa1baef6f4d1df60f44d1d542912acff913226;hp=b16ab47db8b8f2aa532111c2fc96f649b57b25e5;hpb=fb752dbac8f142946657f8c1c264776f61df5c20;p=infrastructure.git diff --git a/scripts/Makefile b/scripts/Makefile index b16ab47..fced5b5 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -1,6 +1,15 @@ -# $Id$ -# $URL$ +SOURCE = ple-backup-cleanup.cron +# dec 2015 : not on boot any more +HOSTS = www +ple-backup: + @for host in $(HOSTS); do for name in ple-backup ple-cleanup; do \ + fqdn=$$host.planet-lab.eu; target=/etc/cron.daily/$$name.cron; \ + echo pushing $(SOURCE) onto $$fqdn as $$target; \ + rsync -av $(SOURCE) root@$$fqdn:$$target; \ + done ; done + +######################################## vcheck: vs-check -f VSERVERS