Second upload

This commit is contained in:
qi_0527 2024-10-26 00:28:11 +08:00
parent c25dcede5f
commit 4e3492184d

View File

@ -23,7 +23,7 @@ namespace Parking_space_WebAPI.BackgroundServices
public Task StartAsync(CancellationToken cancellationToken)
{
TimeSpan scheduledTime = new TimeSpan(0, 19, 0); //設定固定每天存取的時間
TimeSpan scheduledTime = new TimeSpan(0, 23, 59); //設定固定每天存取的時間
var now = DateTime.Now;
var nextRunTime = DateTime.Today.Add(scheduledTime);