• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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