[HELP]Scripting LUA

I’ve made a script for announce mixing 3 scripts, and works very good but now i need to call it from console … or if i can “start scriptname” and executes all code atomatic and stop resource itself anyone knows how? thanks by the way im so new scripting in lua for FIVEM and GTA5.

Why would you need to do that?

i want to start my RESTART SCRIPT 5 minutes before the restart schedule of linux VPS