How to plan and execute a large number of tasks in Go?

I have an idea for a service, where each client creates an unlimited number of tasks, after checking which these tasks must be executed by the service

How can I implement this idea with golang?

cron packages, or running a task checker in memory?

Jobs are stored in the database, and so I need to check the database every minute, select the jobs of all clients and execute them

Who understands, can I hear your opinion?

This sounds to me like a cron job. But there is a possibility that a web sockets could do the same job (Socket publish changes > Subscribers get noticed)

Basically, you can do this with a cron job or with Go language. However, Go language it’s more appropriate if you want to use a database for the tasks.