Author: sebb
Date: Sat Jan 18 11:30:58 2020
New Revision: 1872950
URL: http://svn.apache.org/viewvc?rev=1872950&view=rev
Log:
Send once a week
Modified:
comdev/projects.apache.org/trunk/scripts/cronjobs/parseprojects.py
Modified: comdev/projects.apache.org/trunk/scripts/cronjobs/parseprojects.py
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/trunk/scripts/cronjobs/parseprojects.py?rev=1872950&r1=1872949&r2=1872950&view=diff
==============================================================================
--- comdev/projects.apache.org/trunk/scripts/cronjobs/parseprojects.py (original)
+++ comdev/projects.apache.org/trunk/scripts/cronjobs/parseprojects.py Sat Jan 18 11:30:58
2020
@@ -73,8 +73,8 @@ ATTIC = 'Attic <general@attic.apache.org
def printAtticMail(msg, file=sys.stdout):
print(msg, file=file)
import datetime
- # Only send the mail once a month
- if datetime.datetime.now().day != 14:
+ # Only send the mail once a week
+ if datetime.datetime.now().day % 7 == 0:
print("Not sending the email to '" + str(ATTIC) +"'" , file=file)
return
try:
|