correcting cron schedule to once a day
This commit is contained in:
parent
8b2836fc38
commit
349d62b5cc
@ -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);
|
||||
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
13
Selector.Model/Extensions/ScrobbleRepositoryExtensions.cs
Normal file
13
Selector.Model/Extensions/ScrobbleRepositoryExtensions.cs
Normal 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
|
||||
{
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user