From 5778ffb72143621a63b7d33f4364586331a298f7 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Fri, 13 May 2011 01:50:59 +0000 Subject: gen_dates cleanup and comments --- meetup/gen_dates.sh | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'meetup') diff --git a/meetup/gen_dates.sh b/meetup/gen_dates.sh index d198c94..0bc4479 100755 --- a/meetup/gen_dates.sh +++ b/meetup/gen_dates.sh @@ -1,8 +1,14 @@ #!/bin/sh - -# how far in the future +# generates the upcoming meetups for Funkfeuer Graz Homepage +# +# this script should be called by cron every day (night) +# how far in the future should i go? LIMIT=3 + +# uncomment to enable debug #DEBUG=1 + +# where to put the output files? NEXT_FILE="next.html" AFTER_FILE="after.html" @@ -49,4 +55,4 @@ echo "" >> "$AFTER_FILE.new" mv "$NEXT_FILE.new" "$NEXT_FILE" mv "$AFTER_FILE.new" "$AFTER_FILE" -exit 0 \ No newline at end of file +exit 0 -- cgit v1.2.1