From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qv1-xf34.google.com (mail-qv1-xf34.google.com [IPv6:2607:f8b0:4864:20::f34]) by sourceware.org (Postfix) with ESMTPS id 24BFA3858C27 for ; Sun, 15 Nov 2020 21:03:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 24BFA3858C27 Received: by mail-qv1-xf34.google.com with SMTP id ek7so7707877qvb.6 for ; Sun, 15 Nov 2020 13:03:40 -0800 (PST) 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=VZPyeRdTvSDKJgSzlaPSQfVxDwtfYo6N0NAw6eQsmGM=; b=sTRyT62cxNxvz0DL0BFSFqbBNKQBx0F/8gwFo9PB2IkDqZKLj7YEkt4GQm6xI/decW M6Ej55Ec79V0wddcx/qwOnPV7P8xknQgWQ1yv44JH23gecholDHB2CjnzvB3b3DbjULO koD/c0q9Ek+7KGZUaq0B78cLVe7H4ceLtv127VJPu8tMpfiXP1eWtlVhwIt7tHLI2tNb G9UBDV3ICIAlHlyngKThehSwrsoKm09KJ2HP7FlFnOuqTRFqe78cj8RHbnYOEOHHd7nl QcV3nL4gSqIAdgfJXc3PZHlgsLQuiu3G90zoq/FKPhlmrHuMcLZh4IzxQ5jroKZ8h1na SIkw== X-Gm-Message-State: AOAM5324aNihUfzObRqCS/NnVOK4OpR7+qvrLpTHton4lPF7pMlcTMqd fj2ikrfJjQQwVn/lcGml/qhTk5AuK+vq8QBnPgIO/MyuBnM2lA== X-Google-Smtp-Source: ABdhPJxj9D5lHx7GPdr7UyIwYLRKzXf6180N9p5gVhCGStNG0pDx9VE3W66W+yTEStRFPTqLlsYp9lfp+RIaegSmUlo= X-Received: by 2002:ad4:56ee:: with SMTP id cr14mr12872837qvb.15.1605474219573; Sun, 15 Nov 2020 13:03:39 -0800 (PST) MIME-Version: 1.0 From: Keith Christian Date: Sun, 15 Nov 2020 14:03:28 -0700 Message-ID: Subject: CRON executes CRONTABS only when run from terminal as "/usr/sbin/cron &" To: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2020 21:03:41 -0000 Cygwin people, Running with this version of Cygwin. CYGWIN_NT-10.0 DESKTOP-ASERVER 3.1.7(0.340/5/3) 2020-08-22 17:48 x86_64 Cygwin Windows info: $ /lib/csih/winProductName.exeMicrosoft Windows 10 Professional, 64-bit (build 18363) I installed using cron-config, and created the cyg_server user.cron starts OK, but does not appear to execute the crontabs. No messages or errors in /var/log/cron.log. $ cygrunsrv -Q cron Service : cron Display name : Cron daemon Current State : Running Controls Accepted : Stop Command : /usr/sbin/cron -n Tried these two crontab entries: $ crontab -l # DO NOT EDIT THIS FILE - edit the master and reinstall. # (/tmp/crontab.33lQznXYyq installed on Sun Nov 15 11:41:55 2020) # (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp $) * * * * * /usr/bin/date >> /cygdrive/c/cygwin64/home/someuser/crontab_test * * * * * /usr/bin/date >> /tmp/crontab_test As stated in the subject line, the cron jobs execute properly when starting cron from the terminal as "/usr/sbin/cron &" Any suggestions appreciated.