Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

HOw to prevent emails from?

General questions about VestaCP
Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
Qefx
Posts: 3
Joined: Sun Feb 09, 2014 10:59 am

HOw to prevent emails from?
  • Quote

Post by Qefx » Fri Feb 14, 2014 10:33 am

As topic, how do I prevent messages from my cron job?

Thanks :)
Top

skid
VestaCP Team
Posts: 1476
Joined: Wed Apr 06, 2011 11:12 pm

Re: HOw to prevent emails from?
  • Quote

Post by skid » Fri Feb 14, 2014 10:57 am

You can null the output by adding ">/dev/null 2>&1" to the end of your command like

Code: Select all

echo "ok" >/dev/null 2>&1
Top

Qefx
Posts: 3
Joined: Sun Feb 09, 2014 10:59 am

Re: HOw to prevent emails from?
  • Quote

Post by Qefx » Fri Feb 14, 2014 10:58 am

skid wrote:You can null the output by adding ">/dev/null 2>&1" to the end of your command like

Code: Select all

echo "ok" >/dev/null 2>&1
I did that and got several files in my home folder (all empty)
Top

skid
VestaCP Team
Posts: 1476
Joined: Wed Apr 06, 2011 11:12 pm

Re: HOw to prevent emails from?
  • Quote

Post by skid » Fri Feb 14, 2014 11:12 am

It sounds like something wrong with the redirection. Can you show the full command you use?

Anyway you can completely disable cron reporting for the user account if you run following

Code: Select all

v-delete-cron-reports admin
where admin is you target user.
Top

Qefx
Posts: 3
Joined: Sun Feb 09, 2014 10:59 am

Re: HOw to prevent emails from?
  • Quote

Post by Qefx » Fri Feb 14, 2014 11:36 am

skid wrote:It sounds like something wrong with the redirection. Can you show the full command you use?

Anyway you can completely disable cron reporting for the user account if you run following

Code: Select all

v-delete-cron-reports admin
where admin is you target user.
Ah thanks nice :)

PS: Vesta is the best panel ever :) Keep up the good work! :D
Top


Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password