Results 1 to 3 of 3

Thread: Cron job not emailing

  1. #1
    Registered User
    Join Date
    Feb 2007
    Posts
    2

    Smile Cron job not emailing

    Hi everybody....

    I have added a cron job to index through a cgi script

    but it's not emailing the result

    it show the following in the error logs


    crond[17859]: (user MAIL (mailed 19 bytes of output but got status 0x0001 )
    Mar 27 11:23:01 host01 crond[18078]: (user) CMD (/usr/local/bin/perl /home/user/public_html/cgi-bin/ghi/admin13.cgi

    any ideas?? why i'm not getting the mail


    My cronjo is here




    MAILTO=test@yahoo.com#indexing#
    */1 * * * * /usr/local/bin/perl /home/user/public_html/cgi-bin/ghi/admin13.cgi


    Thanks

  2. #2
    Member
    Join Date
    Mar 2006
    Posts
    1,215

    Default

    The mailto address should be in quotes. Give that a try

  3. #3
    Registered User
    Join Date
    Feb 2007
    Posts
    2

    Default

    I tested with quotes but when trying to save it's showing invalid cron

    Please help

Similar Threads

  1. Server not emailing on Cron and 3rd party apps.
    By gazza101uk in forum cPanel & WHM Discussions
    Replies: 9
    Last Post: 01-30-2008, 01:36 PM
  2. Cron Job
    By cdllt in forum New User Questions
    Replies: 3
    Last Post: 04-23-2005, 08:09 AM
  3. Cron Job
    By jcallery in forum cPanel & WHM Discussions
    Replies: 5
    Last Post: 12-25-2004, 07:09 PM
  4. cron job
    By Stafford in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 10-27-2003, 02:57 PM