Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

When I utilize the ns-crond function to rotate my log files, I notice that the log files are not always correctly rotated (if at all). Why?

0
Posted

When I utilize the ns-crond function to rotate my log files, I notice that the log files are not always correctly rotated (if at all). Why?

0

There are several things to check here. The first is whether or not cron based (not ns-crond but a real cron job) can rotate the log files. If it can, then the problem is most likely the result of the restat script which ns-crond utilizes, not being able to respond the kill -HUP which it must in order for the ns-crond to function properly.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.