@fernando-stteffen Well, I wouldn't wait for a user input. I would write the alllowed time to a config file and read it at boot. Now I don't know your skills in bash, but this should be pretty easy, except you must set this at the previous boot.
There is no cron nor at in recalbox though ... You'll have to write the while loop by yourself
ClrmamePro was absolutely daunting when I first tried it but there is an excellent "walk thru" video on YouTube.
It makes it so easy to figure out.
I used it and now instead of 4700 MAME roms including 31 Galaxians, 25 Street Fighters and 2 million Space Invader clones I have 2300 unique ROMS that work on Recalbox.
Honestly, give it a go after watching the video ( will post link if I can find it later)
@juhapik Thanks for the attention, but it always worked and this questioning was before installing the first unstable version made available through update 4.0.1, these doubts were resolved 2 months ago