From owner-freebsd-current@FreeBSD.ORG Wed Oct 31 15:56:46 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AD98091F for ; Wed, 31 Oct 2012 15:56:46 +0000 (UTC) (envelope-from yerenkow@gmail.com) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 347088FC0A for ; Wed, 31 Oct 2012 15:56:45 +0000 (UTC) Received: by mail-wg0-f50.google.com with SMTP id 16so1083910wgi.31 for ; Wed, 31 Oct 2012 08:56:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=ktQmj8cRgZUyp+hkU+bdzzRh3XZvmlbJbHQnlbV8rq4=; b=tb2eNcp1vpsSJg8MjbJ28WyxcQf3UC8Ukq9QHvOu+JmfALXMKg9aJcAn/tiDGF3IMo +gjNCxRQ7z2meDxIiNQ8G4XlhE9kIp0Pluc7LzkPahOlx4y1QifwcdBoUYVYkezFsHx2 vYHShIau9lB+A5Hp/H5aj+s/8idFsgRuEvVBzA/tYbTGmgHUiehZY5ms/NlzAEjcb9LC iYbbQPG4h+AnOS6Voe4FyJBYUXO+ywq08nQUMuOYE87Gtlabntx78/22InQqhKrzxNHp tkzqu51foD4ulhE/guoPxFk99dETwxAp7erGc0p/xrq62TvJhww9FdHc7hbOUmpZECct z/Uw== MIME-Version: 1.0 Received: by 10.216.197.203 with SMTP id t53mr15303365wen.121.1351699004961; Wed, 31 Oct 2012 08:56:44 -0700 (PDT) Received: by 10.194.40.131 with HTTP; Wed, 31 Oct 2012 08:56:44 -0700 (PDT) Date: Wed, 31 Oct 2012 17:56:44 +0200 Message-ID: Subject: Cron seems not working for me From: Alexander Yerenkow To: freebsd-current Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2012 15:56:46 -0000 Hello there! I'm probably stuck into something on two my VM FreeBSD's. FreeBSD 10.0-CURRENT #0 r241608: Tue Oct 16 16:32:03 EEST 2012 # ls -l /etc/crontab -rw-r--r-- 1 root wheel 554 Oct 31 17:31 /etc/crontab # cat /etc/crontab # /etc/crontab - root's crontab for FreeBSD # # $FreeBSD: head/etc/crontab 194170 2009-06-14 06:37:19Z brian $ # #minute hour mday month wday who command SHELL=/bin/sh PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin */5 * * * * root /usr/libexec/atrun */11 * * * * operator /usr/libexec/save-entropy 0 * * * * root newsyslog 1 3 * * * root periodic daily 15 4 * * 6 root periodic weekly 30 5 1 * * root periodic monthly 1,31 0-5 * * * root adjkerntz -a * * * * * root /usr/bin/touch /tmp/ololo * * * * * root echo dklfokdafkldj # ps ax | grep cron 1494 - Ss 0:00.01 /usr/sbin/cron -s # date Wed Oct 31 17:48:41 EET 2012 /var/log/cron contains only info about reloading /etc/crontab (actually, my stuggles), nothing more (there's no single sign of run of something). If I stop cron, and try manually run it with some debug flags: # cron -x pars,proc debug flags enabled: proc pars [1530] cron started load_user() load_env, read load_env, -> load_env, read load_env, -> load_env, read <*/5 * * * * root /usr/libexec/atrun> load_env, parse error, state = 7 ...... load_env, read <* * * * * root echo dklfokdafkldj> load_env, parse error, state = 7 load_entry()...about to eat comments load_entry()...about to parse numerics load_entry()...about to parse username load_entry()...got root load_entry()...uid 0, gid 0 load_entry()...class daemon load_entry()...about to parse command load_entry()...returning successfully ...load_user() done and that's it, nothing happens after this. Any ideas? This is clean @r241608 installation in Esxi 5.1.0, with vmtools installed and running. Revision was chosen as latest at some moment of building. -- Regards, Alexander Yerenkow