community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1710916 - /comdev/reporter.apache.org/trunk/README.txt
Date Wed, 28 Oct 2015 00:32:18 GMT
Author: sebb
Date: Wed Oct 28 00:32:18 2015
New Revision: 1710916

URL: http://svn.apache.org/viewvc?rev=1710916&view=rev
Log:
Add scandist as a reboot crontab entry

Modified:
    comdev/reporter.apache.org/trunk/README.txt

Modified: comdev/reporter.apache.org/trunk/README.txt
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/README.txt?rev=1710916&r1=1710915&r2=1710916&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/README.txt (original)
+++ comdev/reporter.apache.org/trunk/README.txt Wed Oct 28 00:32:18 2015
@@ -49,6 +49,12 @@ crontab -l -u www-data:
 
 00 12      * * * curl -sS "(redacted)" > /var/www/reporter.apache.org/data/mailinglists.json
 
+# Run pubsubber
+@reboot         cd /var/www/projects.apache.org/scripts/cronjobs && ./pubsubber.sh
+
+# Run scandist
+@reboot         cd /var/www/reporter.apache.org && ./restart_scandisk.sh
+
 Scripts:
 - data/parsepmcs.py
   Updates data/pmcs.json and data/projects.json (currently from http://people.apache.org/committer-index.html)
@@ -123,19 +129,3 @@ Note: the prefix ~pao means that the fil
   site/getjson.py?only=project
   site/jiraversions.py?project=<pmc>&jiraname=<project>&prepend=<prepend>
   site/addrelease.py?json=true&committee=xxx&version=xxx&date=xxx
-
-
-TODO
-
- - ensure that pubsubber.py is started on reboot, using a command of the form:
-cd /var/www/projects.apache.org/scripts/cronjobs &&\
- python pubsubber.py start \
-   comdev/projects.apache.org /var/www/projects.apache.org/ \
-   comdev/reporter.apache.org /var/www/reporter.apache.org/
-
-- ensure that scandist.py is started, for example
-cd /var/www/reporter.apache.org/ &&\
- nohup python -u scandist.py forground &
-(The '-u' flag ensures output is unbuffered)
-
-Running as a daemon is also possible, but then the output is lost.



Mime
View raw message