Hi
i want to run a Recurring Job Daily at 4.00 AM from may ASP.NET app.
i have this on my HangFireConfig.cs class
public static void Start()
{// common code for ini........
_server = new AspNetBackgroundJobServer();
_server.Start();
RecurringJob.AddOrUpdate(() => backup.DBBackupCall(), Cron.Daily(timeInterval));
}
public static void Stop()
{
_server.Stop();
}
but this tasks never happens. but when i am testing with Cron.Minutely(1) this works…
will the task will run when there is no connections to app pool for this app ?
how can i make it to run daily at 4.00 AM