Skip to main content

Timeline for nginx logrotate error on cron job

Current License: CC BY-SA 3.0

6 events
when toggle format what by license comment
May 12, 2020 at 16:19 comment added X Tian My answer was specific to OP's problem, he was running 14.04 and my answer was written in 2015, I believe it solved his problem at the time. By the time 18.04 came along, the bug had probably been fixed. It's great to know it's been fixed, tks for the update.
May 12, 2020 at 16:06 comment added gerardw Answer is ambiguous as to which nginx is being referred to. invoke-rc.d nginx does not invoke /usr/sbin/nginx but rather /etc/init.d/nginx. In Ubuntu 18 at least this works fine.
Sep 23, 2015 at 11:45 history edited X Tian CC BY-SA 3.0
fixed typo
Jun 16, 2015 at 10:57 vote accept Chris
Jun 16, 2015 at 10:57 comment added Chris Thank you, that command seems to have run without an error. I'll update the cron job and we'll go from there.
Jun 16, 2015 at 1:06 history answered X Tian CC BY-SA 3.0