private void Renew(bool calledFromTaskProcess, ContentItem contentItem) { _scheduledTaskManager .CreateTaskIfNew( TaskNameHelper.GetMarkdownContentUpdaterTaskName(contentItem), _clock.UtcNow.AddMinutes(Convert.ToDouble(contentItem.As <MarkdownRepoPart>().MinutesBetweenChecks)), contentItem, calledFromTaskProcess); }
private void Renew(bool calledFromTaskProcess, ContentItem contentItem) { _scheduledTaskManager .CreateTaskIfNew( contentItem.GetFeedSyncProfileUpdaterTaskName(), _clock.UtcNow.AddMinutes(Convert.ToDouble(contentItem.As <FeedSyncProfilePart>().MinutesBetweenSyncs)), contentItem, calledFromTaskProcess); }
private void Renew(bool calledFromTaskProcess) { _scheduledTaskManager.CreateTaskIfNew(TaskType, _clock.UtcNow.AddMinutes(1), null, calledFromTaskProcess); }