Skip to content

Commit

Permalink
Automatically run cron upgrade script
Browse files Browse the repository at this point in the history
- fix typo
  • Loading branch information
mdnoble73 committed Dec 17, 2024
1 parent e419c02 commit 3fd13f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/web/cron/runScheduledUpdate.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ function doFullUpgrade($operatingSystem, $linuxDistribution, $serverName, $versi
}
}

if (file_exists("$installDir/install/updateCron_$versionToUpdateTo.sh")) {
if (file_exists("$installDir/install/updateCron_$versionToUpdateTo.php")) {
executeCommand("Running cron update", "cd $installDir/install; php ./updateCron_$versionToUpdateTo.php $serverName", $scheduledUpdate);
}
}
Expand Down

0 comments on commit 3fd13f8

Please sign in to comment.