Open yoramda opened 4 years ago
Same problem here. Using Quartz.net 3.2
Edit: Using quartz.net v3.0.7 it works pretty nice. Will try to create a pull request for the version 3.2.+
Easy as it is, the problem is the referenced package version of quartz.net 3.07. used by quartzmin. Forked the repo and updated the reference to 3.2.1
I had the same problem with asp.net core 3.1 and quartz.net 3.2.0 could someone fix this and make a nuget package? @maikebing
@jlucansky
I have same problem
I really need to get this running under my .Net Core 3.1/Quartz .net 3.2.0 app and can't find a quartz admin UI that works. @maikebing @jlucansky any chance we can get a new nuget package?
I have made some changes in the code in order to make it work
public async Task
var tmp = BuildJob(t);
await Scheduler.AddJob(tmp, replace: false);
...
}
I am not using Nuget
Worked for me, although I just changed line 173 in JobsController.cs
await Scheduler.AddJob(BuildJob(JobBuilder.Create().StoreDurably()), replace: false)
to :
await Scheduler.AddJob(BuildJob(JobBuilder.Create().StoreDurably(true)), replace: false);
I ended up downloading this repo and making the necessary version changes myself, but looks like there are several other forked repos that have probably already done the same (find here and sort by recent). Main thing was to change from supporting net452 to net461 in order to use Quartz.Net v3.3.3 in all the underlying solutions.
When using JobStore , trying to save job, i got "Method not found: 'Quartz.JobBuilder Quartz.JobBuilder.StoreDurably()'."
FROM THE LOG FILE :
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1] Request starting HTTP/1.1 POST https://localhost:5001/Jobs/Save?trigger=false multipart/form-data; boundary=----WebKitFormBoundaryzNR0XrA1PvpsbtGO 1501 info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[3] Route matched with {action = "Save", controller = "Jobs"}. Executing controller action with signature System.Threading.Tasks.Task
1[Microsoft.AspNetCore.Mvc.IActionResult] Save(Quartzmin.Models.JobViewModel, Boolean) on controller Quartzmin.Controllers.JobsController (Quartzmin). info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[1] Executing action method Quartzmin.Controllers.JobsController.Save (Quartzmin) - Validation state: Valid info: Microsoft.AspNetCore.Mvc.Formatters.Json.Internal.JsonResultExecutor[1] Executing JsonResult, writing value of type '<>f__AnonymousType7
1[[System.String, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[2] Executed action Quartzmin.Controllers.JobsController.Save (Quartzmin) in 33.3153ms info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2] Request finished in 41.0208ms 400 application/json; charset=utf-8Thanks in advanced