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:in-reply-to:references:from:date :message-id:subject:to:content-type; q=dns; s=default; b=CCaZylz 8xmcSkZOsWMgNdm6VP4OUfr8l7WwpsFZeE9lqThCoYNMW9Ta19JyYnWPz0IMqr6Q qHBrKfbYf1Y566mwQJR92T+vuBDHq0RjHB7OUvIzmF1K6rBDV52ybPa5cX9LVy9V QLLcAdhxzF06LzhAO/Z7eR9BGPTJWgGtXWAw= 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:in-reply-to:references:from:date :message-id:subject:to:content-type; s=default; bh=w+V1AWRKE5bqw kXlby7N4HR+e08=; b=qa165AL9L0zhVYOjg93HHnOQsmwoqZb3D7Y8M90wqAMov Cg6luMFpwuHMha3Qf6yluAQm+14RxY8m9yqpbeJMFXQtKeBylMwVrq5CSNM5ldCz pg1/5KFnoNxY/knApLMe5el9ZgLgvEBcXS3wBVyeSou4Q61tWb38yu5t8kd7to= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 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 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 In-Reply-To: References: From: Erik Soderquist Date: Thu, 24 Aug 2017 15:20:41 -0400 Message-ID: Subject: Re: System crontab with username containing a space To: cygwin Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes 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