Jump to content

Recommended Posts

Posted

You could probably also set up a forwarder that forwards to :fail: or :blackhole:

 

Then use the forwarder's address where requested by the cron job.

 

I dunno. Maybe there's some reason why that wouldn't be a good idea, but it seems to me to be an easy solution....

Posted

This is how I set up all my cron jobs

 

>/usr/bin/php -q /home/my-cpanel-id/public_html/my-path/my-script.php > /dev/null

 

I'm just using PHP as an example. If there is an error during the execution I still get email in my domain default email account. But no error, no email.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...