community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1710914 - /comdev/projects.apache.org/STRUCTURE.txt
Date Wed, 28 Oct 2015 00:20:27 GMT
Author: sebb
Date: Wed Oct 28 00:20:27 2015
New Revision: 1710914

URL: http://svn.apache.org/viewvc?rev=1710914&view=rev
Log:
Pubsubber now in crontab

Modified:
    comdev/projects.apache.org/STRUCTURE.txt

Modified: comdev/projects.apache.org/STRUCTURE.txt
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/STRUCTURE.txt?rev=1710914&r1=1710913&r2=1710914&view=diff
==============================================================================
--- comdev/projects.apache.org/STRUCTURE.txt (original)
+++ comdev/projects.apache.org/STRUCTURE.txt Wed Oct 28 00:20:27 2015
@@ -56,20 +56,14 @@ crontab -l -u www-data:
 00 01 * * * cd /var/www/projects.apache.org/scripts/cronjobs && ./python3logger.sh
parsecommitteeinfo.py
 00 02 * * * cd /var/www/projects.apache.org/scripts/cronjobs && ./python3logger.sh
parseprojects.py
 
+# Run pubsubber
+@reboot         cd /var/www/projects.apache.org/scripts/cronjobs && ./pubsubber.sh
+
 10 4 * * *  cd /var/www/projects.apache.org/site/json && ( svn status | awk '/^\?
/ {print $2}' | xargs -r svn add )
 
+
 Note: the puppet config for the VM is stored at:
 
 https://git-wip-us.apache.org/repos/asf?p=infrastructure-puppet.git;a=blob_plain;f=data/nodes/projects-vm.apache.org.yaml
 
-TODO
-- ensure that pubsubber.py is started on reboot, using a command of the form:
-cd /var/www/projects.apache.org/scripts/cronjobs &&\
- python -u pubsubber.py start \
-   comdev/projects.apache.org /var/www/projects.apache.org/ \
-   comdev/reporter.apache.org /var/www/reporter.apache.org/
-
-If the process is already running, stop it first with:
- python pubsubber.py stop
-
 See also scripts/README.txt



Mime
View raw message