Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
After a thorough and deep search lasting about an hour, I've come to the conclusion that this is either A) impossible, or B) so easy, nobody ever bothers to post about it. I'm very hopeful that it is the latter, though the former looks more likely at this point.
Anyways, I am generally trying to put together a bash script that will run as a crontab and communicate (or, send commands to) a window in a tmux session. Specifically, I want to run a backup script for my Minecraft server twice a day that will send save-all to window 0 (the window running the MC server) of session 0, then switch to window 1 and archive the map files.
My biggest problem, and the one that has served as a major roadblock, is getting the bash file, executed by cron, to enter the tmux session and navigate windows. After that hurdle, the remainder of the scripting should come pretty smoothly.
Is there anybody out there that has successfully set up a script like this and can get me going on one for my own use? Thank you in advance for your help.