I want to use Abp.Hangfire, I need execute the backgroundworker at 01:00 AM every day, so how can I set the AbpTimer.Period?
5 Answer(s)
-
0
Hi,
You can directly use Hangfire for this. See <a class="postlink" href="http://docs.hangfire.io/en/latest/background-methods/performing-recurrent-tasks.html">http://docs.hangfire.io/en/latest/backg ... tasks.html</a> You can use a cron expression which you can generate it here <a class="postlink" href="http://www.cronmaker.com/">http://www.cronmaker.com/</a>
-
0
How can I set a cron expression for AbpTimer.Period?
-
0
<cite>ismcagdas: </cite> Hi,
You can directly use Hangfire for this. See <a class="postlink" href="http://docs.hangfire.io/en/latest/background-methods/performing-recurrent-tasks.html">http://docs.hangfire.io/en/latest/backg ... tasks.html</a> You can use a cron expression which you can generate it here <a class="postlink" href="http://www.cronmaker.com/">http://www.cronmaker.com/</a>
How can I set a cron expression for AbpTimer.Period?
-
0
AbpTimer is very simple and does not support cron. Why not using a dedicated library like Quartz (<a class="postlink" href="http://www.aspnetboilerplate.com/Pages/Documents/Quartz-Integration">http://www.aspnetboilerplate.com/Pages/ ... ntegration</a>)
-
0
<cite>hikalkan: </cite> AbpTimer is very simple and does not support cron. Why not using a dedicated library like Quartz (<a class="postlink" href="http://www.aspnetboilerplate.com/Pages/Documents/Quartz-Integration">http://www.aspnetboilerplate.com/Pages/ ... ntegration</a>)
Thank you! You are right.