вот в в кроне я прописал чтоб скрипт запускался каждую минуту
*/1 * * * * root /usr/local/bin/perl /usr/local/www/mydomain/script.pl
Вот логи крона
[root@mail /home/bobot]# tail -F /var/log/cron | grep script
Sep 28 13:06:00 mail /usr/sbin/cron[18420]: (root) CMD (/usr/local/bin/perl /usr/local/www/mydomain/script.pl)
Sep 28 13:07:01 mail /usr/sbin/cron[18877]: (root) CMD (/usr/local/bin/perl /usr/local/www/mydomain/script.pl)
Sep 28 13:08:01 mail /usr/sbin/cron[19291]: (root) CMD (/usr/local/bin/perl /usr/local/www/mydomain/script.pl)
Sep 28 13:09:00 mail /usr/sbin/cron[20290]: (root) CMD (/usr/local/bin/perl /usr/local/www/mydomain/script.pl)
Sep 28 13:10:00 mail /usr/sbin/cron[20736]: (root) CMD (/usr/local/bin/perl /usr/local/www/mydomain/script.pl)
Вроде срабатывает.....но ничего подобного не работает
а если с командной строки
[root@mail /home/bobot]# /usr/local/bin/perl /usr/local/www/mydomain/script.pl
Message 1R8r1k-0004of-HM has been removed
Message 1R8r1l-0004ow-9r has been removed
Message 1R8r1m-0004pE-JT has been removed
Message 1R8r1q-0004pf-2L has been removed
Message 1R8r1t-0004q3-Lt has been removed
Message 1R8r1v-0004qD-Me has been removed
Message 1R8r1x-0004qI-2T has been removed
Message 1R8r27-0004rA-Gy has been removed
Message 1R8r2B-0004rg-Pf has been removed
Message 1R8r2C-0004s7-VD has been removed
Message 1R8r2D-0004sD-Oo has been removed
Message 1R8r2F-0004sW-2T has been removed
Message 1R8r2G-0004sf-8O has been removed
Message 1R8r2K-0004sw-Cu has been removed
Message 1R8r2M-0004tK-8p has been removed
Message 1R8r2S-0004tq-EI has been removed
Message 1R8r2d-0004v5-4D has been removed
Message 1R8r2e-0004vG-9n has been removed
Message 1R8r2k-0004vu-FH has been removed
Message 1R8r2k-0004vz-G2 has been removed
Deleting count: 66
То работает....в чём же дело?