Questions tagged [fluentscheduler]

An automated job scheduler with fluent interface for the .NET platform.

FluentScheduler is an automated job scheduler with fluent interface for the .NET platform.

See more on the Github repo.

23 questions
1
vote
1 answer

FluentScheduler not working

I'm trying to trigger an event every 10 seconds in windows service using TopShelf and FluentScheduler in .Net but i'm not just getting my event triggered every 10 seconds. I'm sharing my implementation, kindly guide me. class Program { …
DevWithSigns
  • 725
  • 16
  • 33
1
vote
0 answers

FluentScheduler or Windows Service for MVC4 tasks? Advice please

I have a MVC4 EF5 application that has a new requirement to sync records via a service call at least once a day. This will require pulling a JSON object from an external database, comparing the values to an existing entity and then logging the…
0
votes
1 answer

How to check is my job started or stopped for FluentScheduler .NET

How to check if job running for FluentScheduler .NET. I have the following code in the Startup.cs class for initializing my job: var registry = new…
Aleksej_Shherbak
  • 2,757
  • 5
  • 34
  • 71
0
votes
1 answer

How do I unit test the scheduled logics?

This question is regarding unit testing the scheduled methods. I am using FluentScheduler to achieve the scheduled job execution. Here is my Execute method public void Execute() { var provisioningRepo =…
kudlatiger
  • 3,028
  • 8
  • 48
  • 98
0
votes
0 answers

C#: Converting a string that's a classname to a T

I have a class in the current assembly called "MyJob" I want this functionality at runtime: JobManager.AddJob(s => s.ToRunNow()) //I don't know about "MyJob" at designtime, so I can't do this If I do this: var thisAssembly =…
0
votes
1 answer

How to schedule a job using FluentScheduler library with Web Api?

I am unable to get FluentScheduler working in .Net Framework 4.5.2 Web api. Few days ago, I asked a similar question about scheduling through Console application and could get it to work with help but unfortunately facing issues with Web Api now.…
Ketan
  • 373
  • 1
  • 6
  • 18
0
votes
1 answer

FluentScheduler task hangs

I'm using FluentScheduler 3.1.42, which appears to not support async jobs. We have a few tasks that execute async code by using .Wait(). They work well and have never caused a task to hang, despite all await statements not using…
JohnnyFun
  • 3,975
  • 2
  • 20
  • 20
0
votes
1 answer

How configure structuremap for fluentscheduler?

I have this structuremap configuration and ITaskFactory for fluentScheduler. public class StructureMapRegistry : Registry { public StructureMapRegistry() { Scan(x => { x.AssembliesFromApplicationBaseDirectory(); …
user3512982
  • 61
  • 1
  • 9
1
2