Keep in mind I'm still learning VisualCron…
Option 1 is job queues:
You could have a server settings screen where you define queues.
Each job/task could optionally be assigned to a queue. If no queue, would run immediately as usual.
Each queue would process a single job/task at a time. If further jobs/tasks were triggered they'd be added to the queue, and run in order.
Usually in these environments you can also assign priorities to tasks, so high priority tasks can jump the queue. I'm not sure this would fit into VC's flow design. WP has a pretty basic description
https://en.wikipedia.org/wiki/Job_queue Option 2 is some kind of locking facility:
A job/task could be assigned a lock flag.
If a job/task with a particular lock flag is running, any further jobs/tasks with the same flag will be held until the first job/task has finished.
Edited by user
2019-05-26T23:34:09Z
|
Reason: Not specified