Hi
i want to execute my method daily at specific time so how can i’m doing this…and
so whats the method i’m using for call my method…like
Console.WriteLine(“Fire-and-forget!”);
****so whats the function for calling asp.net mvc controller and action……
namespace Hangfire1
{
public partial class Startup
{
public void Configuration(IAppBuilder app)
{
ConfigureAuth(app);
GlobalConfiguration.Configuration
.UseSqlServerStorage("connectionstring");
BackgroundJob.Enqueue(() => Console.WriteLine("Fire-and-forget!"));
app.UseHangfireDashboard();
app.UseHangfireServer();
//GlobalConfiguration.Configuration.UseSqlServerStorage("");
}
}
}