Works from tty/cronie