Skip to content

Instantly share code, notes, and snippets.

@Alexei000
Last active August 29, 2019 09:32
Show Gist options
  • Save Alexei000/27268f79ed8387d9ebb40f4df710d5a3 to your computer and use it in GitHub Desktop.
Save Alexei000/27268f79ed8387d9ebb40f4df710d5a3 to your computer and use it in GitHub Desktop.
Recurring job with Hangfire
RecurringJob.AddOrUpdate<UserGroupRolesSyncService>(nameof(UserGroupRolesSyncService),
x => x.SyncUserGroupRolesData(),
"0 10 17 * * *");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment