Hi.

On Fri, 08 May 2020 06:56:58 -0400 Robert Moskowitz wrote:
> On 5/8/20 2:08 AM, Cameron Simpson wrote:

>> You _do_ need to ensure the message at least ends with a newline, of 
>> the From_ won't be at the start of a line. So the previously posted 
>> script ensures that with the "echo" in "( cat; echo )". If you want to 
>> ensure a blank line you also need an additional "echo".

> Working on it. Plus I have to sed in a Date: line.

>> Or Robert could install an MDA and make it the MDA's problem :-)

> What fun would that be?

IMO none :-(

> Plus I have always thought of this as a deficiency in cron on a 
> workstation. Cron should work (report in this case) properly without 
> needing something else (MTA) installed.

There is an alternative to cron: systemd.timer

See my previous post:

  
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org/message/4WZ2QUP7XYV7AJDKL4QBMV7KBD4ALCMI/

In your case you will have to use the service manager of your account
instead of the system one.

In short, use "systemctl --user" "journalctl --user".

Assuming you write a rsync-ietf.service file, you can then use:

  ## Status of this rsync:
  systemctl --user status rsync-ietf.service
  
  ## Logs since midnight:
  journalctl --user --since 00:00 -u rsync-ietf.service

I can give more help if you want to use that.

-- 
francis
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to