Qutaiba
Qutaiba

Reputation: 145

Scheduled function to run at the 1st of each month

I am trying to run a function at the 1st of each month, what is the best way to do that ?

I heard about "Quartz", but i don't know about it, can i do it using Quartz ?

Thanks,

Upvotes: 1

Views: 1795

Answers (1)

Johnny
Johnny

Reputation: 9519

Quartz.NET cron jobs are the way to go. Take a look, you can define and schedule a job to run each 1. of the month.

The example of the cron definition: "0 0 10 1 * ?", each 1. of the month at 10:00am.

Upvotes: 4

Related Questions