delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/02/26/15:16:41

X-Spam-Check-By: sourceware.org
Date: Mon, 26 Feb 2007 15:16:18 -0500 (EST)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: linux1974 <claudio AT vodafone DOT ie>
cc: cygwin AT cygwin DOT com
Subject: Re: cronjob + sed
In-Reply-To: <9167517.post@talk.nabble.com>
Message-ID: <Pine.GSO.4.63.0702261513240.1828@access1.cims.nyu.edu>
References: <9166489 DOT post AT talk DOT nabble DOT com> <45E32F84 DOT 9A99726C AT dessent DOT net> <9167517 DOT post AT talk DOT nabble DOT com>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Ugh, top-posting...  Reformatted.
Also, please don't prepend "[ANNOUNCEMENT]" to subjects of random
messages.  This string is prepended automatically for messages forwarded
from the cygwin-announce mailing list, and is usually used for real
announcements.

More below.

On Mon, 26 Feb 2007, linux1974 wrote:

> 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.
>
> I am not familiar with cygwin, where I can find the packages crontab and
> VI?

<http://cygwin.com/faq/faq.setup.html#faq.setup.what-packages>.
HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Freedom is just another word for "nothing left to lose"...  -- Janis Joplin

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019