Fixes all lowercase issue (#3302)

This commit is contained in:
Joe Milazzo 2024-10-24 05:36:34 -07:00 committed by GitHub
parent 184c766fa7
commit b65b78a736
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 377 additions and 65 deletions

View file

@ -88,6 +88,19 @@ public class ServerController : BaseApiController
return Ok();
}
/// <summary>
/// Performs the nightly maintenance work on the Server. Can be heavy.
/// </summary>
/// <returns></returns>
[HttpPost("cleanup")]
public ActionResult Cleanup()
{
_logger.LogInformation("{UserName} is clearing running general cleanup from admin dashboard", User.GetUsername());
RecurringJob.TriggerJob(TaskScheduler.CleanupTaskId);
return Ok();
}
/// <summary>
/// Performs an ad-hoc backup of the Database
/// </summary>