I currently have a server running Ubuntu 22.04. I use it via SSH, and I made so it runs my minecraft server automatically with Cron.Because cron doesn't open a screen, I want it to open one so I can run commands on it, so I use screen -dmS Minecraft java -Xms8G -Xmx8G -jar /home/user/Minecraft/server.jar
but the screen won't open.I heard I had to install Expect, but I don't really know what's that or how to use it. ¿Any help?
↧
Screen command doesn't work with SSH
↧