Logrotate not working with cron
Clash Royale CLAN TAG#URR8PPP
up vote
3
down vote
favorite
I have created my logrotate file inside logrotate.d folder. When I run it manually using logrotate command, it is rotating the logs correctly. But the daily cron seems not to be running. crontab -l is not listing anything related to this. Inside cron.daily,logrotate is present.
linux cron logrotate
add a comment |Â
up vote
3
down vote
favorite
I have created my logrotate file inside logrotate.d folder. When I run it manually using logrotate command, it is rotating the logs correctly. But the daily cron seems not to be running. crontab -l is not listing anything related to this. Inside cron.daily,logrotate is present.
linux cron logrotate
2
add you daily crontab to this post
â user1700494
Nov 6 '17 at 12:17
1
Is anything else running correctly out of/etc/cron.daily
?
â warren
Dec 6 '17 at 21:12
I'm voting to close this as unclear as the very relevant questions in the other comments have not been answered.
â Kusalananda
Apr 16 at 9:46
add a comment |Â
up vote
3
down vote
favorite
up vote
3
down vote
favorite
I have created my logrotate file inside logrotate.d folder. When I run it manually using logrotate command, it is rotating the logs correctly. But the daily cron seems not to be running. crontab -l is not listing anything related to this. Inside cron.daily,logrotate is present.
linux cron logrotate
I have created my logrotate file inside logrotate.d folder. When I run it manually using logrotate command, it is rotating the logs correctly. But the daily cron seems not to be running. crontab -l is not listing anything related to this. Inside cron.daily,logrotate is present.
linux cron logrotate
asked Nov 6 '17 at 11:47
Renjith
1162
1162
2
add you daily crontab to this post
â user1700494
Nov 6 '17 at 12:17
1
Is anything else running correctly out of/etc/cron.daily
?
â warren
Dec 6 '17 at 21:12
I'm voting to close this as unclear as the very relevant questions in the other comments have not been answered.
â Kusalananda
Apr 16 at 9:46
add a comment |Â
2
add you daily crontab to this post
â user1700494
Nov 6 '17 at 12:17
1
Is anything else running correctly out of/etc/cron.daily
?
â warren
Dec 6 '17 at 21:12
I'm voting to close this as unclear as the very relevant questions in the other comments have not been answered.
â Kusalananda
Apr 16 at 9:46
2
2
add you daily crontab to this post
â user1700494
Nov 6 '17 at 12:17
add you daily crontab to this post
â user1700494
Nov 6 '17 at 12:17
1
1
Is anything else running correctly out of
/etc/cron.daily
?â warren
Dec 6 '17 at 21:12
Is anything else running correctly out of
/etc/cron.daily
?â warren
Dec 6 '17 at 21:12
I'm voting to close this as unclear as the very relevant questions in the other comments have not been answered.
â Kusalananda
Apr 16 at 9:46
I'm voting to close this as unclear as the very relevant questions in the other comments have not been answered.
â Kusalananda
Apr 16 at 9:46
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f402814%2flogrotate-not-working-with-cron%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
2
add you daily crontab to this post
â user1700494
Nov 6 '17 at 12:17
1
Is anything else running correctly out of
/etc/cron.daily
?â warren
Dec 6 '17 at 21:12
I'm voting to close this as unclear as the very relevant questions in the other comments have not been answered.
â Kusalananda
Apr 16 at 9:46