From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 92365 invoked by alias); 10 Jul 2019 16:55:42 -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 92358 invoked by uid 89); 10 Jul 2019 16:55:42 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-0.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=jobs, H*c:alternative, posts X-HELO: mail-ed1-f50.google.com Received: from mail-ed1-f50.google.com (HELO mail-ed1-f50.google.com) (209.85.208.50) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 10 Jul 2019 16:55:41 +0000 Received: by mail-ed1-f50.google.com with SMTP id k8so2848029eds.7 for ; Wed, 10 Jul 2019 09:55:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=yai6vQqsk/2d792CflEe93XRnBM6p0ckIKYESQYDh2w=; b=Oa5d6Ssm0rQEKu+R7INaw/1oF5229+z4szjD8f4eeMoXJhc9Ev/O7Mh1i4GCKG2PKO dYBwNTzGwYZ3oIhHMHMFgiJtI75mJnwtTMSg0GrvvW/dr+JDcukel2M3RzwZHUjv60oJ ET+k63sz3gwjuwa4t2sva2O85iCah63lTRYTaspYAIKf3Z/FkhJp8eiWbr4tMbispa2r FC9t2/bvMV25wRXqc9jEZgOpfGjRyTu+Y8UHkuarlQYL4+H7wWw5rqI1fOPpjZCrNnJ/ w95nRMi2JEcRqJwNyHVABFzhIlmBXEtSW810CGAADTbK2uudPCeR9XPg05G1/cQESpT4 AVrA== MIME-Version: 1.0 From: David Karr Date: Wed, 10 Jul 2019 16:55:00 -0000 Message-ID: Subject: How to start and verify cron? To: The Cygwin Mailing List Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2019-07/txt/msg00072.txt.bz2 I've checked the user guide and the FAQ, and I can't find any information about how to start cron and verify that it's working. I found other blog posts on other sites, but some of them are old. I had installed cron, and I thought it was working, but now I think that it is not. If I edit "~/crontab" and then run "crontab -l", it lists the changes I've made to jobs, so at least that is working. The real job I have didn't appear to be doing what it was supposed to be doing, so I added a new trivial job that just appends output from "date" to a file in my homedir, and after the scheduled time of the job, the file was not created. This is the additional job I added: 40,42,44 * * * * date >> /home//date.txt I did find a "/var/log/cron.log", but it is empty, and the modtime is from a few months ago. One blog post I found talks about running "cygrunsrv -I cron -p /usr/sbin/cron -a -D". I just did this, and it reports "The specified service already exists." This is my uname -a output: CYGWIN_NT-6.1 ... 3.0.3(0.338/5/3) 2019-03-09 19:12 x86_64 Cygwin -- 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