How to log rsync?

ewsg

New Member
Joined
Jun 21, 2022
Messages
2
Reaction score
1
Credits
20
Hello everyone!

Thanks for accepting me here. :)

I would like to ask you about logging in rsync.

I am using rsync through a GUI (Grsync), and currently have the below task at crontab:

0 15 * * * DISPLAY=:0 grsync -e "default"

My question is: how to log all rsync operations to a file?

I tried to use the below line, without success:

0 15 * * * DISPLAY=:0 grsync -e "default" --log-file=/home/my-user/Documentos/rsync

Any help would be greatly appreciated.
 


Since you're using cron, why not just use rsync instead?
Disclaimer: I'm not familiar with grsync or it's options.
 
Oh sorry. :(

I was using Grsync for so many time that I totally forgot the problem here. Now I set up a rsync command inside my crontab. Thanks for pointing me to this error. :)

Now I will try to set the logs.
 

Members online


Top