I would use cron (linux) or the Windows Task Scheduler (windows) to schedule it to run every minute, and your stored procedure will complete its task, and then exit.
Saving procs run "forever" is a really bad idea. You have long-standing connections (which may die), you can accidentally lock the table (forever), etc.
Since they have nothing to do with each other, separating the βcycleβ from your βtaskβ is a good design, which means that you can use the (different) tools that are most suitable for each part.
Bohemian
source share