This commit is contained in:
@@ -25,7 +25,7 @@ namespace AyaNova.Biz
|
|||||||
public static async Task DoWorkAsync(AyContext ct, bool OnDemand = false)
|
public static async Task DoWorkAsync(AyContext ct, bool OnDemand = false)
|
||||||
{
|
{
|
||||||
if (BackupIsRunning) return;
|
if (BackupIsRunning) return;
|
||||||
FileUtil.DatabaseBackupCleanUp(ServerGlobalOpsSettingsCache.Backup.BackupSetsToKeep);
|
//testing FileUtil.DatabaseBackupCleanUp(ServerGlobalOpsSettingsCache.Backup.BackupSetsToKeep);
|
||||||
//get NOW in utc
|
//get NOW in utc
|
||||||
DateTime utcNow = DateTime.UtcNow;
|
DateTime utcNow = DateTime.UtcNow;
|
||||||
if (!OnDemand)
|
if (!OnDemand)
|
||||||
|
|||||||
Reference in New Issue
Block a user