Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] rsync from crontab - failed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2712
Location: Edmonton, AB

PostPosted: Mon Feb 04, 2013 6:41 pm    Post subject: [SOLVED] rsync from crontab - failed Reply with quote

I'm running rsync from crontab but it gives me an error message:
Code:
05 10,12,14,16,18,19,20 * * 1-5 rsync -av --remove-source-files thelma@192.168.141.1://home/thelma/.mon/* /home/joseph/mon/

error:
rsync: link_stat "/home/thelma/.mon/*" failed: No such file or directory (2)

The above command works OK from the terminal.


Last edited by Joseph_sys on Tue Feb 05, 2013 12:04 am; edited 1 time in total
Back to top
View user's profile Send private message
py-ro
Veteran
Veteran


Joined: 24 Sep 2002
Posts: 1734
Location: Velbert

PostPosted: Mon Feb 04, 2013 8:16 pm    Post subject: Reply with quote

Remove the *
Back to top
View user's profile Send private message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2712
Location: Edmonton, AB

PostPosted: Tue Feb 05, 2013 12:04 am    Post subject: Reply with quote

py-ro wrote:
Remove the *


That was it, thank you.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum