From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-124423-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1QYR2e-0006qg-LN
	for garchives@archives.gentoo.org; Sun, 19 Jun 2011 23:04:32 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 19F5CE0484
	for <garchives@archives.gentoo.org>; Sun, 19 Jun 2011 23:04:31 +0000 (UTC)
Received: from mail-ey0-f181.google.com (mail-ey0-f181.google.com [209.85.215.181])
	by pigeon.gentoo.org (Postfix) with ESMTP id 3163C1C00B
	for <gentoo-user@lists.gentoo.org>; Sun, 19 Jun 2011 22:37:42 +0000 (UTC)
Received: by eyh5 with SMTP id 5so737379eyh.40
        for <gentoo-user@lists.gentoo.org>; Sun, 19 Jun 2011 15:37:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:mime-version:date:message-id:subject:from:to
         :content-type;
        bh=rHDrdXu2TxIAAxJjLJQTbZT65C2ZBMu/MXjQW3mv4eM=;
        b=rLfqzVIITO5rkoTx8vSJeeiW7MGN9i8oVSKD+Ewzbf1Zr8dTB840tutrMGp90GNcgy
         Xzz8cE+mIy8wCe5v6XEWhm3BBhvjCn42nKriTLd+/Hlwfk11bHJsaH4P46TiyQiTYz+b
         AaEildHd8FZYyNDmhgAl/ycO+RIOMGC3X7Yf8=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=mime-version:date:message-id:subject:from:to:content-type;
        b=qV7DM+AStO2K86wmxa4KGVchy8Ly1Djn2u6mhfCaPW0+lFeeWo5k5AIzeDJ99Fq9F8
         UCU9yHNnmZHXNMTrJvzWQpabS4clOBU/souOMCCcWaoBAXUBMwi0mwPf7HxRcbOsWF/+
         KS96hlnoagfD6AEZHVw0+j5lxouTc0WC2+zqw=
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.14.50.74 with SMTP id y50mr149544eeb.225.1308523062174; Sun,
 19 Jun 2011 15:37:42 -0700 (PDT)
Received: by 10.14.185.131 with HTTP; Sun, 19 Jun 2011 15:37:42 -0700 (PDT)
Date: Sun, 19 Jun 2011 15:37:42 -0700
Message-ID: <BANLkTikkQ1ZNWTeuQ6sgjo9QSP56SHYz1Q@mail.gmail.com>
Subject: [gentoo-user] crontab not executing
From: Grant <emailgrant@gmail.com>
To: Gentoo mailing list <gentoo-user@lists.gentoo.org>
Content-Type: text/plain; charset=ISO-8859-1
X-Archives-Salt: 
X-Archives-Hash: 1f019d7d07d86566a0585790bca145b2

One of my systems has a crontab like this to clean up and consolidate
the output of the video monitoring app "motion":

# crontab -l
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/home/grant/cron.root.txt installed on Sat Sep 25 10:42:18 2010)
# (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp $)
50 23 * * * /bin/rm /home/motion/$(date -d 'yesterday' +%Y%m%d)*.jpg
55 23 * * * /bin/rm /home/motion/$(date -d 'yesterday' +%Y%m%d)*.avi
59 23 * * * /usr/bin/mencoder /home/motion/$(date +%Y%m%d)*.avi -noidx
-o /home/motion/full-$(date +%Y%m%d).avi -ovc copy -oac copy

If I execute each command manually, it works great, but nothing
happens otherwise.  Can someone tell me why this crontab doesn't seem
to be executing?

- Grant