Do it with -vvvvv and see if there is an error in the logs.
On Thu, Apr 01, 2010 at 09:30:35PM -0700, Stealth wrote: > Everything seems to work when I'm not using cron. > > This command works from the prompt, but will not work when crontab > executes it (and outputs no error): > cd $HOME; /usr/local/bin/tmux new -d irssi > tmux_err 2>&1 > > > On 4/1/2010 8:48 PM, Micah Cowan wrote: > > 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. > > > > > > ------------------------------------------------------------------------------ > Download Intel® 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 ------------------------------------------------------------------------------ Download Intel® 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