Hi

Just a quickie. Does Cron default to sending a status email to the email address specified on the "Site Information" page ? I can't find anywhere else the email address could be specified.

Is it possible to nominate a specific email address to receive Cron emails ?

Thanks

Dave

Comments

Kuldip Gohil’s picture

Alternatively You can use http://drupal.org/project/logging_alerts , you can also send mail when cron runs via rules module,

jaypan’s picture

I believe Cron emails are a server setting, not a Drupal setting. I have the ability to choose a destination email address on my server when setting up the cronjob.

The other thing you could do if you want to do this inside the Drupal system is to create a module that runs on cron and fires a mail off to the specified email address on Cron run. Actually, I could probably create this in about 20 minutes if you really need it. Send me a private message if you are interested.

Edit: or you could just use the module that the user above me mentioned - I kind of skipped his post before posting mine.

Contact me to contract me for D7 -> D10/11 migrations.
Or anything really. I'm friendly, and open to work or conversation.

yelvington’s picture

Drupal does not send emails when cron runs.

If you are getting emails from "Cron Daemon" they are coming from your Unix/Linux server.

El Bandito’s picture

Yelvington

You are absolutely right. I had a closer look at the CPANEL configuration for Cron and the is a field at the top of the configuration page "Please enter an email address where the cron output will be sent:". Mystery solved.

Thanks all.

Dave