✅ Hangfire as windows service
I have a hangfire as window service connected to the database. Now I want to add a dialog box as interface to take input from user to update cronjob.
10 Replies
a service should never ever take on-demand input
then its not really a service
A client wants that take the user input and convert it into cron expression and store the data in table so that hangfire scans the table and trigger according to the stored cron expression in the table
how about adding a web interface to the service then
How would I add web interface in the existing service
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
@Suraj Kumar😎 more specifically they can’t.
They run in a session that doesn’t have a desktop.
Windows services that is.
even if it wasnt a windows service but just a "run as service" type thing, you wouldnt do dialog/stdin input
Okay so then I have to create a seprate web app which feeds the table with date and time and then hangfire will scans the table.
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
Thanks for the help guys