I have a GarrysMod server running in tmux that is started up automatically via cron on reboot, and the box restarts daily, but I need to run a command in the server an hour before the reboot to warn about it. How do I find the tmux session and run a command in the GMod server using a shell script?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.