Skip to content

Commit

Permalink
Add daily and biweekly initSiteStats script
Browse files Browse the repository at this point in the history
  • Loading branch information
alistair3149 committed Oct 24, 2024
1 parent c71328a commit 9ee9170
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mediawiki/mw-cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ spec:
args:
- -c
- >-
php /var/www/mediawiki/maintenance/initSiteStats.php --update &&
php /var/www/mediawiki/extensions/CirrusSearch/maintenance/UpdateSuggesterIndex.php &&
php /var/www/mediawiki/extensions/SemanticMediaWiki/maintenance/rebuildData.php --shallow-update &&
php /var/www/mediawiki/extensions/SemanticMediaWiki/maintenance/disposeOutdatedEntities.php &&
Expand Down Expand Up @@ -91,6 +92,7 @@ spec:
args:
- -c
- >-
php /var/www/mediawiki/maintenance/initSiteStats.php --update --active &&
php /var/www/mediawiki/extensions/SemanticMediaWiki/maintenance/rebuildData.php -d 100 &&
php /var/www/mediawiki/extensions/SemanticMediaWiki/maintenance/setupStore.php --skip-import
restartPolicy: OnFailure
Expand Down

0 comments on commit 9ee9170

Please sign in to comment.