This commit is contained in:
@@ -35,8 +35,7 @@ namespace AyaNova.Util
|
||||
}
|
||||
|
||||
internal static void SetNextBackup()
|
||||
{
|
||||
//If backup at 6pm and come here need to check if should add day
|
||||
{
|
||||
DateTime utcNow = DateTime.UtcNow;
|
||||
//Has last backup run more than 24 hours ago?
|
||||
if (NextBackup < utcNow.AddHours(-24))
|
||||
|
||||
Reference in New Issue
Block a user