• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

From where is cron.daily been executed?

dragnovich

Basic Pleskian
Hello I have some servers on all of them we have CentOS 5 and plesk 9, how ever we have one with centOs 6 and plesk 11 and I cant find where is the cron.daily been executed (it is executed but on a peek time for that specific server) I would like to move the cron.daily start time 3 or 4 hours after it is started.

I try accessing the crontab but It is empty:
-----------------------------------------------------------------------------
# cat /etc/crontab
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

# For details see man 4 crontabs

# Example of job definition:
# .---------------- minute (0 - 59)
# | .------------- hour (0 - 23)
# | | .---------- day of month (1 - 31)
# | | | .------- month (1 - 12) OR jan,feb,mar,apr ...
# | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
# | | | | |
# * * * * * user-name command to be executed
-----------------------------------------------------------------------------

and crontab -e gives me:
0 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
 
cat /etc/cron.d/dailyjobs

SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

# run-parts
43 0 * * * root [ ! -f /etc/cron.hourly/0anacron ] && run-parts /etc/cron.daily
5 1 * * 0 root [ ! -f /etc/cron.hourly/0anacron ] && run-parts /etc/cron.weekly
34 5 17 * * root [ ! -f /etc/cron.hourly/0anacron ] && run-parts /etc/cron.monthly
 
I try that before, but there's no look:

# cat /etc/cron.d/dailyjobs
cat: /etc/cron.d/dailyjobs: No such file or directory
# ls -la /etc/cron.d
total 44
drwxr-xr-x. 2 root root 4096 Oct 2 10:10 .
drwxr-xr-x. 112 root root 12288 Oct 11 18:26 ..
-rw-r--r--. 1 root root 113 Jul 18 2011 0hourly
-rw------- 1 root root 129 Sep 23 11:23 billing-task-manager
-rw-r--r-- 1 root root 170 Sep 23 2011 mailman
-rw-r--r-- 1 root root 117 Oct 12 21:43 plesk-backup-manager
-rw-r--r--. 1 root root 108 Apr 26 11:56 raid-check
-rw-r--r-- 1 root root 71 Sep 22 21:39 sa-update
-rw-r--r--. 1 root root 235 Oct 12 21:45 sysstat

I checked all that files and none set's the cron to the times Im looking... how ever I also see a /etc/cron.daily directorio from which the program I want to change is been runned, how ever there's no reference any where to set the cron to any specific time,
 
Back
Top