option to silence cronjob

Backup agent for Linux servers and workstations on-premises or in the public cloud

option to silence cronjob

Veeam Logoby chris400 » Sat Feb 04, 2017 10:37 am 1 person likes this post

When starting a job via veeamconfig, as it is done in the crontab, it generates output to stdout. In case of a cronjob the result is an email send to the user. I can redirect stdout to /dev/null in the cronjob. Sadly this change gets removed, if the job is altered via veeam.

My suggestion is to add an option to the job configurator, to send normal output to /dev/null.
chris400
Influencer
 
Posts: 10
Liked: 1 time
Joined: Sat Feb 04, 2017 10:31 am
Full Name: Christoph

Re: option to silence cronjob

Veeam Logoby PTide » Mon Feb 06, 2017 5:48 pm 1 person likes this post

Hi,

Got your point, we will look into that. Also you can set MAILTO="" in /etc/crontab file to supress emails.

Thank you!
PTide
Veeam Software
 
Posts: 3137
Liked: 262 times
Joined: Tue May 19, 2015 1:46 pm

Re: option to silence cronjob

Veeam Logoby avoest » Tue Feb 28, 2017 11:37 am

I absolutely support the request to add an silence/quiet option.

MAILTO="" isn't really a good solution because you would miss the error messages from the other cron jobs.

You might also consider using STDOUT for standard output and STDERR for error output.
avoest
Lurker
 
Posts: 1
Liked: never
Joined: Tue Feb 28, 2017 10:56 am

Re: option to silence cronjob

Veeam Logoby PTide » Tue Feb 28, 2017 4:03 pm

Hi,

Would that be acceptable if Veeam generated cron tasks with STDOUT redirected to /dev/null and STDERR left intact by default?

Thanks
PTide
Veeam Software
 
Posts: 3137
Liked: 262 times
Joined: Tue May 19, 2015 1:46 pm

Re: option to silence cronjob

Veeam Logoby chris400 » Mon Mar 06, 2017 6:59 am

Would be nice if we could choose it by an option.
chris400
Influencer
 
Posts: 10
Liked: 1 time
Joined: Sat Feb 04, 2017 10:31 am
Full Name: Christoph

Re: option to silence cronjob

Veeam Logoby mvidalinc » Mon Jul 24, 2017 12:34 pm

Is this feature in Veeam now ?
mvidalinc
Influencer
 
Posts: 17
Liked: never
Joined: Tue Feb 14, 2017 6:39 am

Re: option to silence cronjob

Veeam Logoby PTide » Mon Jul 24, 2017 4:12 pm

Hi,

Not yet.
PTide
Veeam Software
 
Posts: 3137
Liked: 262 times
Joined: Tue May 19, 2015 1:46 pm


Return to Veeam Agent for Linux



Who is online

Users browsing this forum: No registered users and 4 guests