ExtensionFetcher placeholder and RunAllJobs
This commit is contained in:
parent
2a951be475
commit
a8d6a88bf6
|
@ -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
|
||||
|
|
@ -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.
|
|
@ -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
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue