Hi there, not sure exactly what your problem is yet, but a common error when running from crontab is that you don't give the full file path. In this case the file is sent to Sendmail from another place, so take a look at where it is coming from.
Another thing that might help you is if you type "mail" in unix. This should give you a numbered list of all the cronjobs, for example:
U 44 root@il-kblwe02.corp Sun Oct 30 12:14 29/1454 "Cron <guyn@il-
+kblwe02> /bin/tcsh -c 'source /exlibris/sfx_ver/sfx4_1/guyn/home/.csh
+"
U 45 root@il-kblwe02.corp Sun Oct 30 12:27 29/1454 "Cron <guyn@il-
+kblwe02> /bin/tcsh -c 'source /exlibris/sfx_ver/sfx4_1/guyn/home/.csh
+"
>N 46 root@il-kblwe02.corp Mon Oct 31 12:27 35/1699 "Cron <guyn@il-
+kblwe02> /bin/tcsh -c 'source /exlibris/sfx_ver/sfx4_1/guyn/home/.csh
+"
N 47 root@il-kblwe02.corp Tue Nov 1 12:27 35/1696 "Cron <guyn@il-
+kblwe02> /bin/tcsh -c 'source /exlibris/sfx_ver/sfx4_1/guyn/home/.csh
+"
By typing the number of the cron job you can get details about it which will help you debug
Good luck!!
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.