You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by Sam Ruby <ru...@apache.org> on 2016/02/16 15:42:49 UTC
[whimsy.git] [1/1] Commit d52eed8: Add info about agenda work directory
Commit d52eed8f6ef21fca845791ff5578e12d014867d7:
Add info about agenda work directory
Branch: refs/heads/master
Author: Sam Ruby <ru...@intertwingly.net>
Committer: Sam Ruby <ru...@intertwingly.net>
Pusher: rubys <ru...@apache.org>
------------------------------------------------------------
www/board/agenda/bin/remind-cronjob.rb | ++++++
------------------------------------------------------------
6 changes: 6 additions, 0 deletions.
------------------------------------------------------------
diff --git a/www/board/agenda/bin/remind-cronjob.rb b/www/board/agenda/bin/remind-cronjob.rb
index 10382ff..c303667 100644
--- a/www/board/agenda/bin/remind-cronjob.rb
+++ b/www/board/agenda/bin/remind-cronjob.rb
@@ -1,7 +1,11 @@
#
# This is a sketch of what it would take to send board agendas via a cronjob.
+#
# It currently sets @dryrun to true, preventing emails from being sent out.
#
+# AGENDA_WORK is a directory that can be used to store information, depending
+# on the strategy the cron job takes.
+#
Dir.chdir File.expand_path('../..', __FILE__)
@@ -10,6 +14,8 @@
require 'listen'
FOUNDATION_BOARD = ASF::SVN['private/foundation/board']
+AGENDA_WORK = ASF::Config.get(:agenda_work).untaint || '/srv/agenda'
+
require './models/agenda'
require './models/ipc'