ExtensionFetcher placeholder and RunAllJobs

This commit is contained in:
Ampera 2022-11-06 02:10:26 -05:00
parent 2a951be475
commit a8d6a88bf6
3 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,4 @@
# ExtensionFetcher
ExtensionFetcher has its own repository, which you should be able to find here: https://gitea.systemtheta.net/system-theta/openwiki-extensionfetcher

View File

@ -0,0 +1,5 @@
# RunAllJobs
Quick and dirty powershell script which runs jobs for all the sites in wikiconf/sites
Don't put things that aren't sites into wikiconf/sites and nobody will get hurt.
Run every few minutes on the openwiki stack via cron.

View File

@ -0,0 +1,13 @@
#!/usr/bin/pwsh
$sitenames = Get-ChildItem -Path /web1-data1/wikiconf/sites/ -Directory | select -ExpandProperty Name
foreach($name in $sitenames){
if($name -like "*.d"){
$actualname = $name.Replace(".d", "")
$env:MT_WIKI_NAME = $actualname
php /web1-data1/wikiroot/current/w/maintenance/runJobs.php
}
}