diff options
Diffstat (limited to 'meetup/gen_dates.sh')
-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 |