No, each crontab script has changes appropriate to each processing script. One of the things that may be causing this is crontab runs a script and immediately moves on to the next one without waiting for feed back from the script, these scripts are essentially running at the same time, but running in separate process ids.
waitd.cron: # Start the tmux sssion tmux new-session -d -s waitd # Make sure we are in the tumx session tmux select-pane -t waitd # Set up the paths and environmental variables. tmux send-keys "source /home/user/.bashrc" C-m # Change to the working directory: tmux send-keys "cd /home/user/processing_setup # Run Terascan waitd daemon. tmux send-keys "/opt/teras/bin/waitd -g" C-m -- status_server.cron: # Start the tmux sssion tmux new-session -d -s status_server # Make sure we are in the tumx session tmux select-pane -t status_server etc... I should mention this is done thorough crontab and tmux so that on ideally start-up no one has to log into the user account to get things going, everything gets stared as the user in a session at boot, however if a problem occurs someone can log in and attach to the session and look though the output. We have been doing this with screen, but fifty percent of the time it fails to function on start-up and we end up having to manually log in and start scripts. --------------------------------- Donavan Kienenberger V-ADAPT Systems Administrator Volcanic-Ash Detection, Avoidance and Preparedness for Transportation On Tue, Dec 3, 2013 at 12:02 PM, Nicholas Marriott <nicholas.marri...@gmail.com> wrote: > You are creating all the sessions with the same name? > ------------------------------------------------------------------------------ Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users