X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=scripts%2FMakefile;h=fced5b58d93a878c2faa360b16fc1d86249b540b;hb=dfa0408398c6817fd8d61a2e1b5fc74b18e3d3cd;hp=a37ff36006ed1f75ac25cc8b394832515ebe0edd;hpb=a8a0456d1331bf8b4337693b3c481943e786cd19;p=infrastructure.git diff --git a/scripts/Makefile b/scripts/Makefile index a37ff36..fced5b5 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -1,3 +1,15 @@ +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