Stealth wrote:
> Is there a way to load tmux using crontab?
> 
> Example: I do plenty of running things in tmux (namely IRC), and would
> like the sessions created automatically when my server reboots. I did a
> test using "@hourly tmux new <command>", but when the hour changed I
> didn't have a new session or an error mail.

"tmux new" expects a terminal, since it attaches to the newly-created
session. Use -d to prevent that.

But you might want to run some tests with "echo foo >&2" or something,
to trace why you're not getting the warning messages.

-- 
Micah J. Cowan
http://micah.cowan.name/

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to