30 * * * * /usr/bin/rsync -avz --delete -e "ssh -i 
/root/rsync/mirror-rsync-key" [email protected]:/var/www/ /var/www/


sudah berhasil.
ternyata /var/www/ harus di kasih hak tulis untuk usersync

trims all


----- Original Message ----
> From: zahris noorzein <[email protected]>
> To: [email protected]
> Sent: Sat, November 21, 2009 1:25:35 AM
> Subject: Re: [KLuB] cron
> 
> isi crontabnya bisa liat?
> masukin crontabnya access root bukan?
> 
> Pada tanggal 20/11/09, Muhamad Devi Riswandi menulis:
> > ----- Original Message ----
> >
> >> From: zuhair 
> >> To: [email protected]
> >> Sent: Fri, November 20, 2009 7:05:35 AM
> >> Subject: Re: [KLuB] cron
> >>
> >> On Mon, Nov 16, 2009 at 10:47 PM, Muhamad Devi Riswandi
> >> wrote:
> >> > ada yang pernah berhasil pake cron / crontab?
> >> > kalau ada tolong sharing ya. soalnya aku dah baca man dan searching di
> >> > google
> >> nggak
> >> > ada yang berhasil.
> >>
> >>
> >> Apa yang ingin Anda lakukan dengan crontab?
> >> Setahuku mudah saja pengoperasiannya.
> >>
> >> --
> >> زهير عبد الله البنتاني
> >
> >
> >
> >> http://sites.google.com/site/zuhair1410
> >> http://duniakuadalah-it.blogspot.com/2009/06/crontab-penjelasan-singkat.html
> >> http://adityaperdana.web.id/tips-dan-trik/setting-crontab/
> >> http://bandung.linux.or.id/node/24
> >> http://blog.it-wifi.com/mengunakan-crontab-menjadwalkan-eksekusi-perintah/
> >> http://novit.groja.info/?q=content/crontab-and-scripting
> >>
> >> mungkin diatas cocok buat pembelajaran awal ttg crontab..
> >>
> >> --
> >> Agus Setiawan
> >> www.agussetiawan.net
> >
> > trims all
> > dari petunjuk di atas, crontab sudah jalan.
> >
> > cp /home/mdr/Documents/untitled/* /var/www/
> > sudah bisa berhasil. semua file dari bisa dikopi dengan sempurna :)
> >
> > saya bermaksud bikin backup web server
> > dari 192.168.0.101(ip ini cuma untuk testing) ke komputer saya setiap jam
> > 21:00
> > memakai fungsi rsync.
> > secara manual, melalui terminal fungsi ini berhasil, tanpa pertanyaan
> > password dan sebagainya.
> > tapi ketika di masukan ke dalam crontab, copy file tidak berhasil.
> >
> > command yang saya masukan adalah sbb:
> >
> > rsync
> > -avz --delete -e "ssh -i /root/rsync/mirror-rsync-key"
> > [email protected]:/var/www/ /var/www/
> > mohon petunjuk selanjutnya
> >
> > salam
> >
> >
> >
> >
> > --
> >
> > You received this message because you are subscribed to the Google Groups
> > "Klub Linux Bandung" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected].
> > For more options, visit this group at
> > http://groups.google.com/group/klub-linux-bandung?hl=.
> >
> >
> >
> 
> 
> -- 
> http://www.dedoimedo.com/computers/linux-wrong-reasons.html --Don't
> use Linux for the wrong reasons
> http://www.thetunnels.net/
> 
> --
> 
> You received this message because you are subscribed to the Google Groups 
> "Klub 
> Linux Bandung" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/klub-linux-bandung?hl=.



      

--

You received this message because you are subscribed to the Google Groups "Klub 
Linux Bandung" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/klub-linux-bandung?hl=.


Kirim email ke