Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Cron Jobs???

Options
  • 02-10-2006 10:59am
    #1
    Registered Users Posts: 1,086 ✭✭✭


    I am using CPanel 10 on my website and am running quite a few Cron jobs.

    I have 1 cron job that runs every 15 minutes. I have no reason to see a report of this job.

    This is wrecking my head with the multiple emails I am receiving.

    I cannot modify each cron job so they send to different email addresses. They are all arriving on my primary email address.

    Is it possible to avoid this situation?

    I could set up a seperate email address to recieve all the cron notifications, and just set the specific cron(s) which I want to receive to email at the end of their process.

    Is there a better way to go about this?

    Thanks


Comments

  • Registered Users Posts: 7,739 ✭✭✭mneylon


    Send them all to /dev/null

    Append this to the end of the cronjob:
    >/dev/null 2>&1
    


Advertisement