correcting cron schedule to once a day

This commit is contained in:
andy 2022-03-02 19:12:16 +00:00
parent 8b2836fc38
commit 349d62b5cc
3 changed files with 24 additions and 3 deletions

View File

@ -124,7 +124,7 @@ namespace Selector.CLI
public const string Key = "Scrobble";
public bool Enabled { get; set; } = true;
public string FullScrobbleCron { get; set; } = "0 2 * * * ?";
public string FullScrobbleCron { get; set; } = "0 0 2 * * *";
public TimeSpan InterJobDelay { get; set; } = TimeSpan.FromMinutes(5);
public TimeSpan InterRequestDelay { get; set; } = TimeSpan.FromMilliseconds(100);
public DateTime? From { get; set; } = DateTime.UtcNow.AddDays(-14);

View File

@ -9,7 +9,7 @@
},
"Selector.CLI.Scrobble": {
"commandName": "Project",
"commandLineArgs": "scrobble save -u sarsoo --from \"2022/01/01\" -nr -na",
"commandLineArgs": "scrobble save -u sarsoo --from \"2022/01/01\"",
"environmentVariables": {
"DOTNET_ENVIRONMENT": "Development"
},
@ -17,7 +17,7 @@
},
"Selector.CLI.Scrobble.All": {
"commandName": "Project",
"commandLineArgs": "scrobble save -u sarsoo --from \"2017/01/01\" -p 200 -d 75 -na -nr",
"commandLineArgs": "scrobble save -u sarsoo --from \"2017/01/01\" -p 200 -d 120",
"environmentVariables": {
"DOTNET_ENVIRONMENT": "Development"
},
@ -30,6 +30,14 @@
"DOTNET_ENVIRONMENT": "Development"
},
"nativeDebugging": true
},
"Selector.CLI.Scrobble.Map": {
"commandName": "Project",
"commandLineArgs": "scrobble map --artist -l 50 --album --track",
"environmentVariables": {
"DOTNET_ENVIRONMENT": "Development"
},
"nativeDebugging": true
}
}
}

View File

@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Selector.Model.Extensions
{
public static class ScrobbleRepositoryExtensions
{
}
}