Commit d52eed8f6ef21fca845791ff5578e12d014867d7:
Add info about agenda work directory
Branch: refs/heads/master
Author: Sam Ruby <[email protected]>
Committer: Sam Ruby <[email protected]>
Pusher: rubys <[email protected]>
------------------------------------------------------------
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'