Job queue: Difference between revisions

3 bytes removed ,  4 October 2024
Line 17: Line 17:
# Put the MediaWiki installation path on the line below
# Put the MediaWiki installation path on the line below
MW_INSTALL_PATH="/home/www/www.mywikisite.example/mediawiki"
MW_INSTALL_PATH="/home/www/www.mywikisite.example/mediawiki"
RUN_JOBS="$MW_INSTALL_PATH/maintenance/runJobs.php --maxtime=3600"
RUN_JOBS="$MW_INSTALL_PATH/maintenance/runJobs.php --maxtime=60"
echo Starting job service...
echo Starting job service...
# Wait a minute after the server starts up to give other processes time to get started
# Wait a minute after the server starts up to give other processes time to get started
sleep 60
sleep 1
echo Started.
echo Started.
while true; do
while true; do
266

edits