Cron expression: every 2 hours
At minute 0 past hour 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20 and 22 (UTC).
| Where | Expression | |
|---|---|---|
| Azure Functions timer (NCrontab, 6 fields) | 0 0 */2 * * * | Test it |
| NCrontab (5 fields) | 0 */2 * * * | Test it |
| Hangfire (Cronos) | 0 */2 * * * | Test it |
| Quartz.NET | 0 0 0/2 ? * * | Test it |
Every expression above was run through the library it's written for, and gives the same next run times there as in this site's tester.
Other schedules
- Every minute
- Every 5 minutes
- Every 10 minutes
- Every 15 minutes
- Every 30 minutes
- Every hour
- Every day at midnight
- Every day at 9am
- Every weekday at 9am
- Every Monday at 9am
- Every Sunday at midnight
- First day of every month at midnight
- Last day of every month at midnight
- Every 10 seconds
- Never (a schedule that doesn't fire)
More tools
- Cron expression tester
- appsettings.json ⇄ environment variables
- SQL Server connection string builder
- PostgreSQL connection string builder
- DateTime format string tester
- TimeSpan format string tester
- JSON to C# records
Runs in your browser: nothing you paste is sent anywhere. Not affiliated with Microsoft, the .NET Foundation or the library authors.