public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] crontab not executing
@ 2011-06-19 22:37 Grant
  2011-06-19 23:45 ` David W Noon
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Grant @ 2011-06-19 22:37 UTC (permalink / raw
  To: Gentoo mailing list

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



^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2011-06-22 14:42 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-19 22:37 [gentoo-user] crontab not executing Grant
2011-06-19 23:45 ` David W Noon
2011-06-20  5:18 ` Florian Philipp
2011-06-20  6:30   ` Adam Carter
2011-06-20  8:21     ` Neil Bothwick
2011-06-20  9:07       ` Florian Philipp
2011-06-20 10:39       ` Adam Carter
2011-06-20 11:22         ` Albert Hopkins
2011-06-20 11:30         ` Neil Bothwick
2011-06-20 11:53         ` Florian Philipp
2011-06-20 13:52         ` Willie Wong
2011-06-20 12:52 ` Todd Goodman
     [not found] ` <1426203.rtguKxDEjI@nazgul>
2011-06-20 14:47   ` Grant
2011-06-20 14:57     ` Peter Humphrey
2011-06-22 14:40       ` Grant

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox