On Wed, Sep 7, 2011 at 4:38 PM, Ivan Kurmanov <duraley@gmail.com> wrote:
The nightly script fails at this with:

sudo: sorry, you must have a tty to run sudo
error: error running shared postrotate script for
'/home/aras/authors.repec.org-access
/home/aras/authors.repec.org-error '

is there a workaround? How is apache log rotation supposed to work? Is
it done by root by default (in a default apache+logrotate install, i
mean)?

By default, this is done by root.  Can we setup a root cron to do this?