I tried making this command run at 10:20pm and then the second at 10:21pmbut nothing works. I tried as root and as minecraft user but nothing.How can I get it to work?20 10 * * * screen -S classic -p 0 -X stuff stop^M21 10 * * * screen -S classic -d -m sh -c 'bash /home/minecraft/classic/.start.sh'I even did something like this:screen -S classic -X stuff say crontab testto send on to minecraft as a console and broadcast, but I got nothing.
Run minecraft from script in cronjob
cron