[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Savannah-cvs] [751] update info on mgt cron jobs
From: |
ineiev |
Subject: |
[Savannah-cvs] [751] update info on mgt cron jobs |
Date: |
Mon, 15 Jan 2024 02:47:44 -0500 (EST) |
Revision: 751
http://svn.savannah.gnu.org/viewvc/?view=rev&root=administration&revision=751
Author: ineiev
Date: 2024-01-15 02:47:43 -0500 (Mon, 15 Jan 2024)
Log Message:
-----------
update info on mgt cron jobs
Modified Paths:
--------------
trunk/sviki/SavannahInternals.mdwn
Modified: trunk/sviki/SavannahInternals.mdwn
===================================================================
--- trunk/sviki/SavannahInternals.mdwn 2024-01-14 11:09:39 UTC (rev 750)
+++ trunk/sviki/SavannahInternals.mdwn 2024-01-15 07:47:43 UTC (rev 751)
@@ -96,9 +96,7 @@
calls a CGI script on `www.gnu.org` to request a website update.
6. A cron job on `www.gnu.org` regularly checks for update requests,
and `cvs updates` the requested repositories.
-7. A cron job on `mgt0` regularly query the database for mailing list
- updates. It then creates the mailing lists on `lists.gnu.org`.
- This is done because `lists.gnu.org` is managed by the FSF, not Savannah.
+7. Obsolete.
8. Publishing a new tarball release for GNU packages is performed by an
automated process, explained in the
[GNU Maintainer's
guide](//www.gnu.org/prep/maintain/maintain.html#Automated-FTP-Uploads).
@@ -299,18 +297,12 @@
(lists.gnu.org, using GNU Mailman) is administered by the FSF, not
Savannah.
* Special configuration on `lists.gnu.org` allows remote execution of
- shell scripts from `frontend` to automate list creation/deletion.
+ shell scripts from `frontend` to automate list management.
More info: [[ListServer]].
* Public URL: <https://savannah.gnu.org/mail/admin/?group=GROUP> (only
available to group admins).
-* Source code:
[/frontend/php/mail/admin/index.php](http://git.savannah.gnu.org/cgit/administration/savane.git/tree/frontend/php/mail/admin/index.php).
-* The PHP code updates the `mail_group_list` table (no other direct changes
- are done by the script). New mailing lists are added as new records in the
- tables. Change requests to mailing lists are done by changing the
- `status` field (see source code for possible values).
-* A cron job on `mgt0` reads the changes in the `mail_group_list` and
- executes the necessary changes on `lists.gnu.org`. See "cron jobs on
- mgt" section below.
+* The PHP code updates the `mail_group_list` table and runs the scripts
+ to update the mailing lists on `lists.gnu.org`.
### MySQL Database
@@ -409,29 +401,23 @@
Basically, none. Wiki refresh is run once an hour, but this isn't really
needed.
-### Cron jobs on mgt0
+### Cron jobs on mgt1
-Stored in `mgt0:/etc/cron.d/sv`:
+Stored in `mgt1:/etc/cron.d/savannah`:
- # Assign uidNumber and gidNumber inthe database (and rebuild cache for
- # libnss-mysql-bg). 7211 was the latest group created by the old
- # sv_groups cron - maybe one day we'll move everything to the 70000
- # range. Then create homedirs and authorized_keys files.
+ # Assign uidNumber and gidNumber in the database (and rebuild cache
+ # for libnss-mysql-bg). 77211 was the latest group created by the old
+ # sv_groups cron - maybe one day we'll move everything to the 70000 range.
*/5 * * * * root sv_assign_uid_gid --min-gidNumber=77212
+ # Frontend-related:
+ #
+ # This script does not need root access, access to the database is enough.
+ */25 * * * * root sv_cleaner
+ 48 12 2 * * root sv_cleaner --big-cleanup
- # New list creation
- */5 * * * * root sv_mailman --cron
-
- # Database cleaning
- */25 * * * * root sv_cleaner --cron
- 48 12 2 * * root sv_cleaner --cron --big-cleanup
-
- # Reminder
- 4 4 * * * root sv_reminder --cron
- 25 18 * * * root sv_reminder --cron
+ 4 4,18 * * * root sv_reminder
-
* `sv_assign_uid_gid` - creates unique user ids and group ids for
users and groups in the Savannah system.
* reminder: across all Savannah hosts, Unix user/group ids are managed
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Savannah-cvs] [751] update info on mgt cron jobs,
ineiev <=