Deutsch   English   Français   Italiano  
<vv6gqa$315nt$2@paganini.bofh.team>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!news.roellig-ltd.de!open-news-network.org!weretis.net!feeder8.news.weretis.net!newsfeed.bofh.team!paganini.bofh.team!not-for-mail
From: Raymond Rayson <ray@nah.thx>
Newsgroups: comp.unix.bsd.freebsd.misc,comp.os.linux.misc
Subject: Re: Git automation
Date: Sun, 4 May 2025 01:44:42 -0000 (UTC)
Organization: To protect and to server
Message-ID: <vv6gqa$315nt$2@paganini.bofh.team>
References: <vv6221$2a1c$22@gallifrey.nk.ca>
	<vv6fkh$315nt$1@paganini.bofh.team>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 4 May 2025 01:44:42 -0000 (UTC)
Injection-Info: paganini.bofh.team; logging-data="3184381"; posting-host="3j7VwJMOW2qGIPtOVd0Y9Q.user.paganini.bofh.team"; mail-complaints-to="usenet@bofh.team"; posting-account="9dIQLXBM7WM9KzA+yjdR4A";
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
X-Notice: Filtered by postfilter v. 0.9.3
Bytes: 1599
Lines: 21

On Sun, 4 May 2025 01:24:33 -0000 (UTC), Raymond Rayson wrote:

> On Sat, 3 May 2025 21:32:49 -0000 (UTC), The Doctor wrote:
> 
>> I have a directory /path/to/
>> 
>> where is Have programmes with .git is found .
>> 
>> How can i cron a script so that the git pull can be run in the 
>> subdirectories with a .git subdirectory , ogin to the next one until done
>> and report results in e-mail ?
> 
> `for REPO in $TOPDIR; do git -C $REPO pull ${GITPULLOPTIONS}; done`

Do not input the opening and closing accents (` characters) in 
your cronjob; they were my attempt to delineate a code block.



-- 
Best,
Ray