From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 84318 invoked by alias); 24 Aug 2017 19:20:47 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 82171 invoked by uid 89); 24 Aug 2017 19:20:46 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.2 required=5.0 tests=AWL,BAYES_05,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=courage, alexandria, Alexandria, Caleb X-HELO: mail-wr0-f182.google.com Received: from mail-wr0-f182.google.com (HELO mail-wr0-f182.google.com) (209.85.128.182) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 24 Aug 2017 19:20:44 +0000 Received: by mail-wr0-f182.google.com with SMTP id z91so1243418wrc.1 for ; Thu, 24 Aug 2017 12:20:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=+fK3g583GT6JtWmi9CIusNidIXJzc+3pX1zQP9KVJew=; b=G9nhxFWet9MEJcn4wQi/dVXtspmwEco1Zd78d+H3bqyiKFd2PcUtcwf5tC8QpKXAmf cST+b+lWtuwrAr66izxVvLffgMJ6n7V/XuW9C43Ubnh5qFHKJkwExhS8G3RJxBPeMHWZ LcmrcNvteqHvNojgrE4zJOYcQ92WngrQMxNVNNMrx0mmeHa46X33eQNlD0uBc9r3UaFt ONUzgeFDq9uFLonBe7+XiZIvNBF0Lm0cdPFQh8rpW1cRH/3rBPW+DiMr3ULiNJdYY1ba wIgkrTy3jQxIl7kfeg0xM5ww8+KmuIfTsU+Yqi2OaSv3S3V2c1R5HZ9cJmcLsLqPKM32 sBlg== X-Gm-Message-State: AHYfb5gb+4J7ZKUSHOe1KL9DfYouImdsJ1lV0J4TyfSlb0SK/c21/dCA VC3MAkQnoVFH4KY54vNfhbaR9xX0DFLwKQU= X-Received: by 10.223.143.102 with SMTP id p93mr4658963wrb.120.1503602442398; Thu, 24 Aug 2017 12:20:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.144.77 with HTTP; Thu, 24 Aug 2017 12:20:41 -0700 (PDT) In-Reply-To: References: From: Erik Soderquist Date: Thu, 24 Aug 2017 19:20:00 -0000 Message-ID: Subject: Re: System crontab with username containing a space To: cygwin Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2017-08/txt/msg00226.txt.bz2 On Thu, May 25, 2017 at 7:19 PM, Gene Pavlovsky wrote: > 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? I ran into a similar issue where I had a space in a mount, and I had to use some form of octal/hex encoding, but I no longer remember the exact details... I will try to reproduce this and see what I can find. -- Erik -- "I do not think any of us are truly sane, Caleb. Not even you. Courage is not sanity. Being willing to die for someone else is not sanity." ... "Love is not sane, nor is faith." ... "If sanity lacks those things, Caleb, I want no part of it." -- Alexandria Terri in "Weaving the Wyvern" by Alexis Desiree Thorne -- 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