Change map after an amount of time

I was wondering if there was anyway to change the map based on an amount of time using the mapcycle. I have googled it but without any luck. As usual, thanks in advance :stuck_out_tongue:

[lua]
timer.Simple(600, function()
game.LoadNextMap()
end)
[/lua]