You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org
Tool:Phabsearchemail
Revision as of 15:11, 12 May 2020 by imported>BryanDavis (Fix SAL link)
![]() | |
---|---|
Description | a Toolforge tool that runs regular cron jobs to send an email with the results of a saved query to those who request it. |
Keywords | Phabricator |
Author(s) | RhinosF1talk |
Maintainer(s) | RhinosF1 (View all) |
Source code | https://gerrit.wikimedia.org/r/#/admin/projects/labs/tools/phabsearchemail |
License | GNU General Public License 3.0 or later |
Issues | [1] |
Admin log | Nova Resource:Tools.phabsearchemail/SAL |
Requesting an email
- Go to maniphest’s advanced search and complete your query, copy the url.
- Fill out [2] and state your email
- Someone with access may process the request (add them to the <frequency>.csv file)
- Watch your inbox and wait.
Setting up a new cron
- Create a new file with the people to be notified on that schedule.
- Type 'crontab -e' and add a line for the relevant time to trigger the command 'python3 phab.py <file>'
Triggering a manual run
To manually run the tool, simply become it and type 'python3 phab.py <file>'
- For weekly and monthly runs, the simple 'weekly' and 'monthly' shorthand may be used instead of <file>