whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sam Ruby <ru...@apache.org>
Subject [whimsy.git] [1/1] Commit d52eed8: Add info about agenda work directory
Date Tue, 16 Feb 2016 14:42:49 GMT
Commit d52eed8f6ef21fca845791ff5578e12d014867d7:
    Add info about agenda work directory


Branch: refs/heads/master
Author: Sam Ruby <rubys@intertwingly.net>
Committer: Sam Ruby <rubys@intertwingly.net>
Pusher: rubys <rubys@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'
 

Mime
View raw message