Hello,
Now on my Plesk 9.3 servers the everyday awstats proccess ends at 11AM more or less. I want this proccess to ends sooner than that hour.
I know awstats proccess is part of daily proccess execute in plesk every day. These process starts on 50plesk-daily cron which is executed everyday. I know that this command inside 50plesk-daily who manage the update of the daily stats (and more things):
/opt/psa/bin/sw-engine-pleskrun /opt/psa/admin/plib/DailyMaintainance/script.php
So, If I delay the start of 50plesk-daily one hour for example, the stats must end one hour before (more or less)
Checking where 50plesk-daily cron is I find this under /etc/crontab:
So this cron runs /etc/cron.daily.
Questions:
1.- Is this cron running really /etc/cron.daily
2.- I modify crontab for the line:
From 6.25 to 5.25 but the stats ends at the same hour.
What I am doing wrong?
Where I can really modify the cron.daily to start earlier?
Thanks
Now on my Plesk 9.3 servers the everyday awstats proccess ends at 11AM more or less. I want this proccess to ends sooner than that hour.
I know awstats proccess is part of daily proccess execute in plesk every day. These process starts on 50plesk-daily cron which is executed everyday. I know that this command inside 50plesk-daily who manage the update of the daily stats (and more things):
/opt/psa/bin/sw-engine-pleskrun /opt/psa/admin/plib/DailyMaintainance/script.php
So, If I delay the start of 50plesk-daily one hour for example, the stats must end one hour before (more or less)
Checking where 50plesk-daily cron is I find this under /etc/crontab:
mercurio:/etc/cron.daily# cat /etc/crontab
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# m h dom mon dow user command
17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
So this cron runs /etc/cron.daily.
Questions:
1.- Is this cron running really /etc/cron.daily
2.- I modify crontab for the line:
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
From 6.25 to 5.25 but the stats ends at the same hour.
What I am doing wrong?
Where I can really modify the cron.daily to start earlier?
Thanks