Crontabbing a Ruby script inside a screen
Brian Seklecki (Mobile)
lavalamp at spiritual-machines.org
Thu Jan 24 16:53:44 UTC 2013
screen(1) is just going to fill a massive buffer, then eventually core.
You can capture stdout/stderr to a file using script(1) instead. Its
basically the same as:
% nohup ./command 2>&1 | tee -a ~/command.log &
~BAS
On Thu, 24 Jan 2013, Dwayne Henderson wrote:
> Hi, I run this Ruby + Sequel script inside a screen that records data from
> this live stream 24/7. But it tends to core dump every once in a while, and
> since I run it in a screen (so it's easy to check in on), I can't really
> scroll up to catch the error whenever it happens.
>
> So how do I crontab the screen with the Ruby s
More information about the freebsd-questions
mailing list