X-Git-Url: https://git.ucc.asn.au/?p=planet-ucc.git;a=blobdiff_plain;f=crontab;h=fdaa25b269103136791b3bc8617811e3019e7688;hp=698ca494aa14266d6e946e6291d1f3acec3b7a54;hb=692a1459b60f82f746930254ce77f94b2d1ec1c4;hpb=7c1189be656d2ab9f484d9d0f1ab1b8f287de4c8 diff --git a/crontab b/crontab index 698ca49..fdaa25b 100644 --- a/crontab +++ b/crontab @@ -1,6 +1 @@ -*/5 * * * * cd $HOME/projects/planetucc/ && \ - ./update-planet > /dev/null && \ - scp $HOME/projects/planetucc/planet.html planet@mussel.ucc.asn.au:public-html/index.html 2>/dev/null && \ - scp $HOME/projects/planetucc/rss2.xml planet@mussel.ucc.asn.au:public-html/rss2.xml 2>/dev/null && \ - scp $HOME/projects/planetucc/rss1.xml planet@mussel.ucc.asn.au:public-html/rss1.xml 2>/dev/null - +*/5 * * * * echo -e "Updated at `date`:\n" > $HOME/projects/planetucc/planet.log ; $HOME/projects/planetucc/launch-update-planet.sh >> $HOME/projects/planetucc/planet.log 2>&1