How can i limit maximum number of tasks in whenever. For example if i have something like this
every 1.hours do
runner "MyModel.some_process"
rake "my:rake:task"
command "/usr/bin/my_great_command"
end
I want to limit it to 1 means if there is a thread already running do not start new thread at next hour.