-
- Influencer
- Posts: 13
- Liked: 3 times
- Joined: Feb 04, 2017 10:31 am
- Full Name: Christoph
- Contact:
option to silence cronjob
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.
My suggestion is to add an option to the job configurator, to send normal output to /dev/null.
-
- Product Manager
- Posts: 6561
- Liked: 768 times
- Joined: May 19, 2015 1:46 pm
- Contact:
Re: option to silence cronjob
Hi,
Got your point, we will look into that. Also you can set MAILTO="" in /etc/crontab file to supress emails.
Thank you!
Got your point, we will look into that. Also you can set MAILTO="" in /etc/crontab file to supress emails.
Thank you!
-
- Lurker
- Posts: 1
- Liked: never
- Joined: Feb 28, 2017 10:56 am
- Contact:
Re: option to silence cronjob
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.
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.
-
- Product Manager
- Posts: 6561
- Liked: 768 times
- Joined: May 19, 2015 1:46 pm
- Contact:
Re: option to silence cronjob
Hi,
Would that be acceptable if Veeam generated cron tasks with STDOUT redirected to /dev/null and STDERR left intact by default?
Thanks
Would that be acceptable if Veeam generated cron tasks with STDOUT redirected to /dev/null and STDERR left intact by default?
Thanks
-
- Influencer
- Posts: 13
- Liked: 3 times
- Joined: Feb 04, 2017 10:31 am
- Full Name: Christoph
- Contact:
Re: option to silence cronjob
Would be nice if we could choose it by an option.
-
- Influencer
- Posts: 17
- Liked: 1 time
- Joined: Feb 14, 2017 6:39 am
- Contact:
Re: option to silence cronjob
Is this feature in Veeam now ?
-
- Product Manager
- Posts: 6561
- Liked: 768 times
- Joined: May 19, 2015 1:46 pm
- Contact:
Re: option to silence cronjob
Hi,
Not yet.
Not yet.
-
- Veteran
- Posts: 266
- Liked: 30 times
- Joined: Apr 26, 2013 4:53 pm
- Full Name: Dan Swartzendruber
- Contact:
[MERGED] Suppressing email when scheduled job executes?
So I got the Linux agent installed on my CentOS 7 storage appliance. Worked like a charm. My only complaint: when it adds the scheduled job to the crontab, it doesn't redirect the output to /dev/null, so I got an email the next morning for the job that had run (successfully) at 6AM. It was easy to edit the crontab line to add '> /dev/null', but the comment at the top of the lines tells you not to edit the file directly, and the next time you add a scheduled job, it will overwrite your change. Is there a better way to do this?
-
- Product Manager
- Posts: 6561
- Liked: 768 times
- Joined: May 19, 2015 1:46 pm
- Contact:
Re: option to silence cronjob
Hi Dan
You can just disable built-in schedule in the backup job wizard, so the agent does not overwrite changes, and keep using your own string in cron.
Thanks
You can just disable built-in schedule in the backup job wizard, so the agent does not overwrite changes, and keep using your own string in cron.
Thanks
-
- Veteran
- Posts: 266
- Liked: 30 times
- Joined: Apr 26, 2013 4:53 pm
- Full Name: Dan Swartzendruber
- Contact:
Re: option to silence cronjob
Ah, thanks!
Who is online
Users browsing this forum: Bing [Bot] and 7 guests