• 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!
  • 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.

Not a directory: /etc/cron.hourly

John_A

New Pleskian
Hi All,

I'm getting cron emails "Not a directory: /etc/cron.hourly" in every 52 minutes, /etc/crontab entry is given below,
************************
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

# run-parts
51 * * * * root run-parts /etc/cron.hourly
48 2 * * * root run-parts /etc/cron.daily
29 5 * * 0 root run-parts /etc/cron.weekly
48 1 3 * * root run-parts /etc/cron.monthly
~ ****************************
Also I've manually run "run-parts /etc/cron.hourly", but couldn't find any errors,
I'm using Plesk 11.5.30, any help would be appreciated,
 
I have already followed the above kb, getting below errors(and I think its not applicable in my case, doesn't find any invalid characters in
"hexdump" output.
==
tr -d '\r' < /etc/crontab > /etc/crontab.fixed
[3] 11563
-bash: lt: command not found
[4] 11565
-bash: /etc/crontab: Permission denied
-bash: gt: command not found

[3]+ Stopped tr -d '\r'
[4] Exit 126 /etc/crontab
==
Hexdump results

===
hexdump -C /etc/crontab
00000000 53 48 45 4c 4c 3d 2f 62 69 6e 2f 62 61 73 68 0d |SHELL=/bin/bash.|
00000010 0a 50 41 54 48 3d 2f 73 62 69 6e 3a 2f 62 69 6e |.PATH=/sbin:/bin|
00000020 3a 2f 75 73 72 2f 73 62 69 6e 3a 2f 75 73 72 2f |:/usr/sbin:/usr/|
00000030 62 69 6e 0d 0a 4d 41 49 4c 54 4f 3d 72 6f 6f 74 |bin..MAILTO=root|
00000040 0d 0a 48 4f 4d 45 3d 2f 0d 0a 0d 0a 23 20 72 75 |..HOME=/....# ru|
00000050 6e 2d 70 61 72 74 73 0d 0a 35 31 20 2a 20 2a 20 |n-parts..51 * * |
00000060 2a 20 2a 20 72 6f 6f 74 20 72 75 6e 2d 70 61 72 |* * root run-par|
00000070 74 73 20 2f 65 74 63 2f 63 72 6f 6e 2e 68 6f 75 |ts /etc/cron.hou|
00000080 72 6c 79 0d 0a 34 38 20 32 20 2a 20 2a 20 2a 20 |rly..48 2 * * * |
00000090 72 6f 6f 74 20 72 75 6e 2d 70 61 72 74 73 20 2f |root run-parts /|
000000a0 65 74 63 2f 63 72 6f 6e 2e 64 61 69 6c 79 0d 0a |etc/cron.daily..|
000000b0 32 39 20 35 20 2a 20 2a 20 30 20 72 6f 6f 74 20 |29 5 * * 0 root |
000000c0 72 75 6e 2d 70 61 72 74 73 20 2f 65 74 63 2f 63 |run-parts /etc/c|
000000d0 72 6f 6e 2e 77 65 65 6b 6c 79 0d 0a 34 38 20 31 |ron.weekly..48 1|
000000e0 20 33 20 2a 20 2a 20 72 6f 6f 74 20 72 75 6e 2d | 3 * * root run-|
000000f0 70 61 72 74 73 20 2f 65 74 63 2f 63 72 6f 6e 2e |parts /etc/cron.|
00000100 6d 6f 6e 74 68 6c 79 |monthly|
00000107
====
 
Back
Top