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 02:48:00 +0100
- From: Francois Cartegnie <fcartegnie@example.com>
- Subject: Re: [tlug] script fails as cron job
- References: <20081124.103608.193698881.cmuller-lst@jj.em-net.ne.jp>
- User-agent: KMail/1.9.9
> 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 If not in a subshell, you need to give absolute path for rsync & ssh executables. You can also redirect stderr 2> to know what is failing. /usr/bin/rsync -uvptl -e /usr/bin/ssh acmuller@example.com:"public_html/ddb/pcache/4*.html" /mnt/win_d/docs/public_html/ddb/pcache/ 2>&1 > /mnt/win_d/docs/pcache-updated4.txt
- References:
- [tlug] script fails as cron job
- From: Charles Muller
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Looking for a distribution to replace Ubuntu
- Next by Date: Re: [tlug] SSH Issues
- Previous by thread: [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