SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2014-05-12 23:57:38

rmcellig
#! Die Hard
From: Ottawa, Canada
Registered: 2012-11-15
Posts: 624
Website

rsync not working using Gnome-schedule [SOLVED]

***I solved this problem by re-copying the ssh key back to my target laptop and made sure that the target drive was mounted as well. ***


I installed Gnome-schedule in my Crunchbang 11 installation. It was working fine but for some reason, my rsync entries are not working. If I copy the code to the terminal, they work fine. What should I do?

Here is a sample of one of my rsync entries:

rsync -a  /home/randy/documents/ randy@192.168.2.13:/media/randy/mainserver/documents

Like I said, if I run this in the terminal, it works fine, but in Gnome-schedule, nothing is happening.

Here are my cron entries:

randy@cruncher2000:~$ crontab -u randy -l
*/10 * * * * rsync -av  /media/masterlps/lps/B/ randy@192.168.2.13:/media/randy/mainserver/lps/B # JOB_ID_1
*/15 * * * * rsync -av  /media/masterlps/lps/E/ randy@192.168.2.13:/media/randy/mainserver/lps/E # JOB_ID_2
*/30 * * * * rsync -av  /media/masterlps/lps/F/ randy@192.168.2.13:/media/randy/mainserver/lps/F # JOB_ID_3
* * * * * rsync -a  /media/masterlps/lps/C/ randy@192.168.2.13:/media/randy/mainserver/lps/C # JOB_ID_4
0 * * * * rsync -av  /media/masterlps/lps/M/ randy@192.168.2.13:/media/randy/mainserver/lps/M # JOB_ID_5
*/25 * * * * rsync -av  /media/masterlps/lps/G/ randy@192.168.2.13:/media/randy/mainserver/lps/G # JOB_ID_6
0 * * * * rsync -av  /media/masterlps/lps/D/ randy@192.168.2.13:/media/randy/mainserver/lps/D # JOB_ID_7
0 */4 * * * rsync -av  /media/masterlps/lps/A/ randy@192.168.2.13:/media/randy/mainserver/lps/A # JOB_ID_8
*/5 * * * * rsync -av  /media/masterlps/lps/H/ randy@192.168.2.13:/media/randy/mainserver/lps/H # JOB_ID_9
0 * * * * rsync -av  /media/masterlps/lps/N/ randy@192.168.2.13:/media/randy/mainserver/lps/N # JOB_ID_10
0 * * * * rsync -av  /media/masterlps/lps/I/ randy@192.168.2.13:/media/randy/mainserver/lps/I # JOB_ID_11
0 * * * * rsync -av  /media/masterlps/lps/J/ randy@192.168.2.13:/media/randy/mainserver/lps/J # JOB_ID_12
0 * * * * rsync -av  /media/masterlps/lps/K/ randy@192.168.2.13:/media/randy/mainserver/lps/K # JOB_ID_13
0 * * * * rsync -av  /media/masterlps/lps/L/ randy@192.168.2.13:/media/randy/mainserver/lps/L # JOB_ID_14
0 * * * * rsync -av  /media/masterlps/lps/O/ randy@192.168.2.13:/media/randy/mainserver/lps/O # JOB_ID_15
0 * * * * rsync -av  /media/masterlps/lps/P/ randy@192.168.2.13:/media/randy/mainserver/lps/P # JOB_ID_16
0 * * * * rsync -av  /media/masterlps/lps/Q/ randy@192.168.2.13:/media/randy/mainserver/lps/Q # JOB_ID_17
0 * * * * rsync -av  /media/masterlps/lps/R/ randy@192.168.2.13:/media/randy/mainserver/lps/R # JOB_ID_18
0 * * * * rsync -av  /media/masterlps/lps/S/ randy@192.168.2.13:/media/randy/mainserver/lps/S # JOB_ID_19
0 * * * * rsync -av  /media/masterlps/lps/T/ randy@192.168.2.13:/media/randy/mainserver/lps/T # JOB_ID_20
* * * * * rsync -a  /home/randy/documents/ randy@192.168.2.13:/media/randy/mainserver/documents # JOB_ID_21
randy@cruncher2000:~$

Last edited by rmcellig (2014-05-13 12:49:38)


Cheers Randy
www.mcran.com - my web site
www.chuo.fm - My radio show Sundays  noon-2pm EST or 89.1 fM

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat

Debian Logo