But, How can solve it? Is there another solution for running artisan commands or jobs in another way?
My task is to run some code every N seconds, Yes I can do that via cron jobs by using sleep. But I wanna find another solution
If U want to run some code every N seconds, so it's a daemon. U can make longrunning artisan command, which will do the job in loop.
Or you can make job, that will dispatch the same job as deleyed (but U should be shure that it wount fail)