• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Standard cron jobs (8.0.1)

D

dahamsta

Guest
Could someone do me a favour and post a list of the standard cron jobs in a stock install of 8.0.1?

Thanks,
adam
 
These are the jobs on by FC4 and CentOS4 boxes

*/15 * * * * /usr/local/psa/admin/sbin/backupmng >/dev/null 2>&1
0 1 * * 1 /usr/local/psa/libexec/modules/watchdog/cp/secur-check
0 1 * * 1 /usr/local/psa/libexec/modules/watchdog/cp/send-report weekly
0 3 * * 7 /usr/local/psa/libexec/modules/watchdog/cp/clean-reports
10 1 * * * /usr/local/psa/libexec/modules/watchdog/cp/clean-sysstats
14 5 * * * /usr/local/psa/bin/mysqldump.sh >/dev/null 2>&1
15 1 * * * /usr/local/psa/libexec/modules/watchdog/cp/pack-sysstats day
15 1 * * 1 /usr/local/psa/libexec/modules/watchdog/cp/pack-sysstats week
15 1 1 * * /usr/local/psa/libexec/modules/watchdog/cp/pack-sysstats month
15 1 1 * * /usr/local/psa/libexec/modules/watchdog/cp/pack-sysstats year
17 7 * * * /usr/local/psa/admin/bin/php /usr/local/psa/admin/plib/report/autoreport.php --auto daily >/dev/null 2>&1
17 7 * * 1 /usr/local/psa/admin/bin/php /usr/local/psa/admin/plib/report/autoreport.php --auto weekly >/dev/null 2>&1
17 7 1 * * /usr/local/psa/admin/bin/php /usr/local/psa/admin/plib/report/autoreport.php --auto monthly >/dev/null 2>&1
20 1 * * * /usr/local/psa/libexec/modules/watchdog/cp/clean-events
7 4 * * * /usr/local/psa/admin/sbin/statistics >/dev/null 2>&1
 
Hello,

when I do crontab -l, I get following:

0 1 * * 1 /usr/local/psa/libexec/modules/watchdog/cp/secur-check
0 1 * * 1 /usr/local/psa/libexec/modules/watchdog/cp/send-report weekly
10 1 * * * /usr/local/psa/libexec/modules/watchdog/cp/clean-sysstats
15 1 * * * /usr/local/psa/libexec/modules/watchdog/cp/pack-sysstats day
15 1 * * 1 /usr/local/psa/libexec/modules/watchdog/cp/pack-sysstats week
15 1 1 * * /usr/local/psa/libexec/modules/watchdog/cp/pack-sysstats month
15 1 1 * * /usr/local/psa/libexec/modules/watchdog/cp/pack-sysstats year
20 1 * * * /usr/local/psa/libexec/modules/watchdog/cp/clean-events
0 3 * * 7 /usr/local/psa/libexec/modules/watchdog/cp/clean-reports

Is this correct?
Or are my default cron jobs missing???
Please guys i need help..

Thanks.
 
Originally posted by truptim
Please guys i need help..


You did not say what your problem is. If I do not know the problem, I cannot help. The cron jobs you have listed are correct, but there appears to be a few missing.
 
My problem is, why are the other cron jobs not listed(other default cron jobs as listed above)..

e.g following cron jobs should be present( as they are default) but they are not?
/usr/local/psa/bin/mysqldump.sh >/dev/null 2>&1
/usr/local/psa/admin/bin/php /usr/local/psa/admin/plib/report/autoreport.php --auto daily >/dev/null 2>&1
/usr/local/psa/admin/bin/php /usr/local/psa/admin/plib/report/autoreport.php --auto weekly >/dev/null 2>&1
/usr/local/psa/admin/bin/php /usr/local/psa/admin/plib/report/autoreport.php --auto monthly >/dev/null 2>&1

So I just wanted to know if I have to add those entries manually by scheduling task?

Also, when i do
crontab -l -u client_name i get
"no crontab for client_name"

** This client has crontab management permission. Shouldnt there be the default cron jobs listed????

Please reply back. This cron job thing is really confusing for me.

Thanks in advance.
 
Yes, you should add them manually. There has been several cases where these default jobs were not available. I was not been able to determine why.

Client cronjobs are client specific and therefore, by default, there are no client cronjobs.
 
First of all thank u for ur prompt reply.

If u dont mind just another question.
I get daily statistic reports.

But Suppose If I want the /usr/local/psa/admin/sbin/statistics to run at an interval of 10 mins how can I do it?( i.e if I want to get statistical report every 10 min interval)

Do I have to add a cron job accordingly???
will I get the statistics every 10 mins then??

Basically by default the statistics is updated in 24 hrs( for this their is no job displayed in my cronjobs). Can I change this default behaviour by scheduling task??

Any tips???
 
I am not for sure what updates the server statistics and sends the report. The "statistics" cronjob updates the individual website statistics for web traffic. I will check to see what I can find.
 
Back
Top