Command cycling

Hello I want to cycle one command like for every 15 minutes and i dont know how to code in lua… i just have few basics in C and C++ and it would really help me thanks

In a thread, create a loop with a delay of 15 min. It will loop every 15 min.

i´m not able to code it… dont know any lua basics… i though someone might waste his 5-10 minutes and help me… or just some hints would be great

Create something like this https://wiki.fivem.net/wiki/Citizen.CreateThread

Except instead of 0 in the Citizen.Wait… put whatever 15 minutes is, except in seconds