I am new in hangfire. I want to create a regular cron job which triggers in every 30 minutes. In documentation i couldn't find a good example. For example this is my method :
public void DoSomething()
{
using (EfDbContext _db = new EfDbContext())
{
_db.Jobs.add(new CronJob
{
status = "job fires",
date = DateTime.Now
});
}
}
And i want to trigger it in every 30 minutes. How to do it in asp.net mvc? (using hangfire).