U4-10656 - Option to lock schedule task

Created by Bo Jacobsen 09 Nov 2017, 08:25:43 Updated by Bo Jacobsen 09 Nov 2017, 09:07:04

I have a request to make it possible to lock schedule task from umbracoSettings.config. So only one task with the same alias can run at a time.

That way we can reduce cpu overloads.

1 Attachments

Comments

Sebastiaan Janssen 09 Nov 2017, 08:34:37

We encourage you to implement a better solution then, we love using Hangfire which works great and you can write your own code around it to make it do anything you want, including locking.

The scheduled tasks built into Umbraco are there as a convenience to you and were never meant to be a complete toolkit for scheduling tasks. :-)


Bo Jacobsen 09 Nov 2017, 09:07:04

My problem is not my own api calls. But installed plugins, that use scheduledTasks.


Priority: Normal

Type: Feature (request)

State: Closed

Assignee:

Difficulty: Normal

Category: Architecture

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.0.0, 7.1.0, 7.0.1, 7.0.2, 7.0.3, 7.0.4, 7.1.1, 7.2.0, 7.1.2, 7.1.3, 7.1.4, 7.1.5, 7.3.0, 7.1.6, 7.1.7, 7.1.8, 7.1.9, 7.2.1, 7.2.2, 7.2.3, 7.2.4, 7.2.5, 7.2.6, 7.2.7, 7.4.0, 7.2.8, 7.3.1, 7.5.0, 7.6.0, 7.3.2, 7.3.3, 7.3.4, 7.4.1, 7.3.5, 7.3.6, 7.3.7, 7.3.8, 7.4.2, 7.4.3, 7.5.1, 7.5.2, 7.5.3, 7.5.4, 7.5.5, 7.5.6, 7.5.7, 7.5.8, 7.7.0, 7.5.9, 7.5.10, 7.5.11, 7.5.12, 7.5.13, 7.6.1, 7.5.14, 7.6.2, 7.6.3, 7.6.4, 7.6.5, 7.8.0, 7.6.6, 7.7.1, 7.6.7, 7.6.8, 7.7.2, 7.6.9, 7.7.3, 7.6.10, 7.7.4, 7.6.11, 7.7.5, 7.6.12

Due in version:

Sprint:

Story Points:

Cycle: