Howdy,
I set up a hard drive to backup my emails, world file, /etc and a couple
other things. I been doing it manually but finally set up a cron job to
run it automatically. I call it a script but some may laugh at me
calling it that. Anyway, I got cron to run it just fine. It runs and
copies
On 06/04/2021 18:43, Dale wrote:
Keep in mind, I do not want to disable ALL emails, just this one
script. How does one disable emails for this one cron job? Do I have a
typo or putting it in wrong place maybe? Everything I found shows this
should work but obviously I'm doing something wrong.
On Tue, 6 Apr 2021 12:43:31 -0500, Dale wrote:
> Keep in mind, I do not want to disable ALL emails, just this one
> script. How does one disable emails for this one cron job? Do I have a
> typo or putting it in wrong place maybe? Everything I found shows this
> should work but obviously I'm doi
Neil Bothwick wrote:
> On Tue, 6 Apr 2021 12:43:31 -0500, Dale wrote:
>
>> Keep in mind, I do not want to disable ALL emails, just this one
>> script. How does one disable emails for this one cron job? Do I have a
>> typo or putting it in wrong place maybe? Everything I found shows this
>> shoul
On Tue, 06 Apr 2021 13:43:31 -0400,
Dale wrote:
>
> Howdy,
>
> I set up a hard drive to backup my emails, world file, /etc and a couple
> other things. I been doing it manually but finally set up a cron job to
> run it automatically. I call it a script but some may laugh at me
> calling it that
On Tue, 6 Apr 2021 14:42:28 -0500, Dale wrote:
> > cron only sends an email if the job produces any output. If the script
> > follows the *nix principle of succeed quietly, fail noisily, you
> > should only get emails when things go wrong. However without seeing
> > your mail-backup script, it is
John Covici wrote:
> On Tue, 06 Apr 2021 13:43:31 -0400,
> Dale wrote:
>> Howdy,
>>
>> I set up a hard drive to backup my emails, world file, /etc and a couple
>> other things. I been doing it manually but finally set up a cron job to
>> run it automatically. I call it a script but some may laugh
On Tue, 6 Apr 2021 18:51:56 -0500, Dale wrote:
> > I think you have to do it in your actual backup script or put the
> > whole thing in the hourly directory putting >/dev/null at the end of
> > each rsync command, but leaving off the 2>&1, so you will get error
> > messages.
> This seems to be wo
Neil Bothwick wrote:
> On Tue, 6 Apr 2021 18:51:56 -0500, Dale wrote:
>
>>> I think you have to do it in your actual backup script or put the
>>> whole thing in the hourly directory putting >/dev/null at the end of
>>> each rsync command, but leaving off the 2>&1, so you will get error
>>> messages
On Wed, 7 Apr 2021 03:22:18 -0500, Dale wrote:
> >> This seems to be working. Since I added the null bit to the script
> >> itself, it hasn't sent a email. I don't know if it will if it fails
> >> but I still have weekly backups as well.
> > If you only redirect stdout to /dev/null and leave
Neil Bothwick wrote:
> On Wed, 7 Apr 2021 03:22:18 -0500, Dale wrote:
>
This seems to be working. Since I added the null bit to the script
itself, it hasn't sent a email. I don't know if it will if it fails
but I still have weekly backups as well.
>>> If you only redirect stdout
11 matches
Mail list logo