PDA

View Full Version : directadmin_cron



netmotiv8
03-29-2004, 04:19 AM
Hi,

Regarding this file...
/etc/cron.d/directadmin_cron


There is following entry:-

10 0 * * * root echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue


Is this 'tally' what also tells DA to check the size of apache logs for rotation?

When is the file read e.g when does DA use/check it?

Also:

Is this file overwritten when a DA upgrade is performed?



Neil :D

DirectAdmin Support
03-29-2004, 11:21 AM
Hello,

Yes, that's the cron that does the log rotation. The size is set in the Admin Panel -> Admin Settings page.


When is the file read e.g when does DA use/check it?The directadmin_cron is controlled by the cron daemon, and is checked every minute. (correct me if that's not what you're asking)

DA does not overwrite that file during upgrades.

John