crontab
derix suartyo
dak_keruan at yahoo.com
Wed Apr 9 17:09:08 EST 2003
thx for reply..
In the log file, the cronjob did call rsync but it did
not copy the files ...
Log file:
Mail-Server2 CROND[2258]: (root) CMD (root
/usr/bin/rsync -avzpogr --stats -e ssh
root at 10.1.1.1:/home/vpopmail/ /home/vpopmail/)
Mail-Server2 CROND[2267]: (mailman) CMD
(/usr/bin/python -S /var/mailman/cron/qrunner)
Mail-Server2 CROND[2256]: (root) MAIL (Mailed 41 bytes
of output but got status 0x0043)
reg,
Derix Suartyo
--- jw schultz <jw at pegasys.ws> wrote:
> On Tue, Apr 08, 2003 at 10:42:43PM -0700, derix
> suartyo wrote:
> > Dear Expert,
> >
> > Is there any settings in rsync to run the command
> > automatically in crontab?
> > i've setup the crontab and create the ssh key to
> > ignore the password prompt, but it seems like the
> > rsync didn't works well.
>
> And what error messages are seen?
> "didn't works well" is vague at best.
>
> > the crontab setting is like this:
> > * */2 * * * /usr/bin/rsync -avzporg --stats
> > root at 10.1.1.1:/home/email/ /home/data-email/
>
> Which crontab? I don't know which version cron is
> standard
> with RH but vixie at least has two different
> formats. One
> for users (including root) and one system
> (/etc/crontab).
>
> > if i run this manually, it works, im using redhat
> 8.0
> >
> > Thank You very much.
> >
> > best regards,
> >
> > Derix Suartyo.
> >
> >
> >
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Tax Center - File online, calculators,
> forms, and more
> > http://tax.yahoo.com
> > --
> > To unsubscribe or change options:
> http://lists.samba.org/mailman/listinfo/rsync
> > Before posting, read:
> http://www.tuxedo.org/~esr/faqs/smart-questions.html
> >
>
> --
>
________________________________________________________________
> J.W. Schultz Pegasystems Technologies
> email address: jw at pegasys.ws
>
> Remember Cernan and Schmitt
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com
More information about the rsync
mailing list