diff options
author | Christian Pointner <equinox@ffgraz.net> | 2011-05-13 01:50:59 +0000 |
---|---|---|
committer | Christian Pointner <equinox@ffgraz.net> | 2011-05-13 01:50:59 +0000 |
commit | 5778ffb72143621a63b7d33f4364586331a298f7 (patch) | |
tree | 92b25e9a5d985d925c70e4a8d4d9b43e49879077 /meetup | |
parent | 110e856ff331082726edf5eb82a3c5b486563086 (diff) |
gen_dates cleanup and comments
Diffstat (limited to 'meetup')
-rwxr-xr-x | meetup/gen_dates.sh | 12 |
1 files changed, 9 insertions, 3 deletions
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 "</ul>" >> "$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 |