delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/05/25/19:20:06

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:from:date:message-id:subject:to
:content-type; q=dns; s=default; b=PXTUsQPhfoiWjhjQq97xVaQMiZKG2
9H1krZR6EfLt21SjjQQ4SPl8iak6mG/ERlboGtrcaQ61O56+MMd7Zmb+qY9QgCSU
yukeSmF6rQiotQpDmM0YLYwRqyDUjNuouV3KUfM5PRsMLrykZm4i6mWZSDeLRzMA
SG0NAp6fOrUH/k=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:from:date:message-id:subject:to
:content-type; s=default; bh=FWBXHyHTNMbjZSrH5aHCtdWp2qI=; b=UJw
cxG+gjWYODdwY/z2qPs70jiHiYMXzG7qGfVf+1MIdNLm1tt2xAwH3RjvoTRUuvQe
hlfPx8IleGyNy+hu5kFUVEKGIjbaf09e9XXgtf3EkPMh18X8bfFUaPhBCPQ78krj
lFptgjfT/j9hFlEDA6iIxxMrvpvjB+NeQzt3pDQ0=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=gene, circumstances, personal, hey
X-HELO: mail-it0-f43.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=TCIVlcU4yiOeK26SdbNe7Tl6dsQZIxyN3SKTVs5aklM=; b=Z3QbnPiYIJFvwpZU6BAzTww+9jMhg5ntVGcUzFTwlVptrn6G8YXVqdciiFKNUOGEkU mWMn7tM7g0+xxav33gz65LL4ltg0gqRIVOKukzYuUflao6G2/kLqwytFRig4aHLE34ed +8vm6DBa7CpEbSeQepRoAIx+oVMy8u3pxSsA+mE4WgYPf8Bi8f6dUbWHLyPh98aeWUrE j+1JS2lOOvF5+kNzMr9gDvK3mI/R417jT6H/R6hIH5puKLtS3jBcfj+SE8HcGTBHXQBL bpuERkT0ZOzHv+iUlROR6eGNOpj4ZwpnbouwjfB6bgQtmEVt1MGLH2GvGTz9pdtmqxKT /MtA==
X-Gm-Message-State: AODbwcDDNNuH03wC8hVCg6RROPwPA5qjNEACpzY/jB0yuz4dvuYP9TX0 232LZwyK9n9IikqkB0uCXBDkd6HjzQZAzvU=
X-Received: by 10.36.211.130 with SMTP id n124mr116765itg.107.1495754379307; Thu, 25 May 2017 16:19:39 -0700 (PDT)
MIME-Version: 1.0
From: Gene Pavlovsky <gene DOT pavlovsky AT gmail DOT com>
Date: Fri, 26 May 2017 01:19:38 +0200
Message-ID: <CAPTiy3O=_Gb_jS4DBZxvczwJbuFhouVKrR1zz6jTgbLb3FEJ9g@mail.gmail.com>
Subject: System crontab with username containing a space
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

Hey folks :)

Due to circumstances beyond my control, I've got a user account on a
remote PC which contains a space in the username, i.e. "Test
Computer".
I've set up Cygwin and cron, and am having problems with the system crontab.
I can't figure out how to put the username in there, I've tried it as
is, with \ escaping the space, enclosing in double quotes. The jobs
just don't get executed. There is no error message in cronevents. The
jobs are implementation of cron.hourly, cron.daily etc. - I really
don't want to put them in user's crontab which would contain more
personal stuff.

Does cron support spaces in username in the system crontab? If so, how
to escape them?

--Gene

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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