Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] script fails as cron job
- Date: Mon, 24 Nov 2008 09:04:48 +0100
- From: Christian Horn <chorn@example.com>
- Subject: Re: [tlug] script fails as cron job
- References: <20081124.103608.193698881.cmuller-lst@jj.em-net.ne.jp>
- User-agent: Mutt/1.5.13 (2006-08-11)
On Mon, Nov 24, 2008 at 10:36:08AM +0900, Charles Muller wrote: > > It works fine, but when I run it on cron.daily, although the files > download, nothing gets written to the target list file. If I try it > with "run parts" it also works OK, but when it is run as a regular > cron.daily job, the same problem occurs. Can anyone suggest a cause? > > rsync -uvptl -e ssh acmuller@example.com:public_html/ddb/pcache/4*.html /mnt/win_d/docs/public_html/ddb/pcache/ > /mnt/win_d/docs/pcache-updated4.txt As already noted: - redirect stdout to something usefull 2>/path/file - use full path to rsync and to public_html - quote 'path/public_html/ddb/pcache/4*.html' - maybe provide ssh the private-key you want to use; /path/rsync -arve 'ssh -i /home/user/.ssh/id_rsa' acmuller@example.com ... Christian
- Follow-Ups:
- Re: [tlug] script fails as cron job
- From: Charles Muller
- References:
- [tlug] script fails as cron job
- From: Charles Muller
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] SSH Issues
- Next by Date: Re: [tlug] Looking for a distribution to replace Ubuntu
- Previous by thread: Re: [tlug] script fails as cron job
- Next by thread: Re: [tlug] script fails as cron job
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links