Schedule Manual Timer in Topshelf

75 views
Skip to first unread message

Nithya V

unread,
Apr 5, 2017, 12:47:11 PM4/5/17
to topshelf-discuss, Jayaganesh D

 I want to host multiple instance in a single Topshelf service for different functionality, and each instance should run at different scheduled time (one instance should run every day and other needs to be run periodically). 

For Example:

Scenario 1.  I need to run service for deleting files every day.  

Scenario 2: I need to convert the content once data gets inserted into Database. I have to check this periodically.  

Scenario 3. I have to generate summary .So the service should have run once in a week.

So, I want to create three types of schedule in Topshelf.

Thanks.


Elias Rangel

unread,
Apr 5, 2017, 4:08:31 PM4/5/17
to topshelf...@googlegroups.com
To keep track of and trigger timed events you can use Quartz.net or HangFire, which are libraries specialized in that domain.

With Topshelf you host the service, and with any one of those libraries you handle your timed scenarios.



--
You received this message because you are subscribed to the Google Groups "topshelf-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to topshelf-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages