X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=bin%2FupdateCalendar.sh;h=0f0d40bd2d3eb7b75dfab38b4440caca82a3408e;hb=a78a6aab55032721a4e658ebdb32e1305eff7640;hp=50b50ef37937cb8e4f089351551cbdc7190acadb;hpb=560c091996e7e2f3c2d1babb51c0e84f3afb95a6;p=clearscm.git diff --git a/bin/updateCalendar.sh b/bin/updateCalendar.sh index 50b50ef..0f0d40b 100755 --- a/bin/updateCalendar.sh +++ b/bin/updateCalendar.sh @@ -1,12 +1,7 @@ #!/bin/bash -# Odd. Seems the following causes wget to use IPv6 instead of IPv4. Well -# recently we turned off IPv6 because we suspect this causes our WiFi -# dropout problem. But then this hangs. -#wget -O /tmp/calendar.$$.ics 'https://www.google.com/calendar/ical/adefaria%40gmail.com/public/basic.ics' >> /tmp/updateCalendar.$$.log 2>&1 -wget --no-check-certificate -O /tmp/calendar.$$.ics 'https://172.217.11.174/calendar/ical/adefaria%40gmail.com/public/basic.ics' >> /tmp/updateCalendar.$$.log 2>&1 +wget -O /tmp/calendar.$$.ics https://calendar.google.com/calendar/ical/adefaria%40gmail.com/public/basic.ics > /tmp/updateCalendar.$$.log 2>&1 wget -O /tmp/meetups.$$.ics 'http://www.meetup.com/events/ical/10426135/8dfdd0ffaaedecf720c5faf0cf3871b7ee5f5c1e/going' >> /tmp/updateCalendar.$$.log 2>&1 - wget -4 -O /tmp/tripit.$$.ics 'http://www.tripit.com/feed/ical/private/06C4F90D-EFEFB9C5FDB17EC5FCB327DE31A54D96/tripit.ics' >> /tmp/updateCalendar.$$.log 2>&1 # Now let's combine the files. First strip off the END:CALENDAR from the main