X-Spam-Check-By: sourceware.org Message-ID: <9167517.post@talk.nabble.com> Date: Mon, 26 Feb 2007 11:50:49 -0800 (PST) From: linux1974 To: cygwin AT cygwin DOT com Subject: Re: [ANNOUNCEMENT] cronjob + sed In-Reply-To: <45E32F84.9A99726C@dessent.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: claudio AT vodafone DOT ie References: <9166489 DOT post AT talk DOT nabble DOT com> <45E32F84 DOT 9A99726C AT dessent DOT net> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hi I am not familiar with cygwin, where I can find the packages crontab and VI? tks Brian Dessent wrote: > > linux1974 wrote: > >> How do you set up cronjobs with cygwin? If I want to run a script that >> uses >> sed ( does thet standard sed that comes with cygwin supports /s /g etc >> commands to manipulate a string or do I need to upgrade sed? ) >> and gets an input file from a windows directory and output a new file on >> that directory? >> Tried to look for crontab but couldn't find. > > Editing the crontab is exactly as you would on linux, type "crontab -e" > and edit with whatever editor you've set EDITOR to. When you save, it > will be installed. Type "man 5 crontab" for details. Remember to use > POSIX paths, not windows paths in your cron jobs. You of course need to > install the cron package, I hope that goes without saying. To install > the cron daemon itself (as a service) you need to run cron-config. > > Cygwin includes GNU sed, same as on linux. But then again I don't know > that a sed exists that doesn't support basic regular expression > functions. > > Brian > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Problem reports: http://cygwin.com/problems.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > > > -- View this message in context: http://www.nabble.com/cronjob-%2B-sed-tf3295134.html#a9167517 Sent from the Cygwin Users mailing list archive at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/