i am just wondering, what is the maximum execution time of a laravel
artisan command?
If you run it via the command line - it can be indefinite.
Is it unlimited like php shell scripts or dose artisan / laravel have
some kind of protection for unlimited looped commands?
There is no protection - you are free to do what you want.
because i wanna make a command that runs forever, as long as the
server is running. Is that possible with Laravel Artisan?
I do something similar - I have a php artisan command that has currently been running for 89 days without issue so far. But as Aross mentioned below, the problem is that if the command does fail for some reason, you need to know about it.