[X-Unix] Cron problem
Marley Graham
mgraham at aquaflo.com
Wed Jun 22 13:58:40 PDT 2005
This probably something I'm not understanding about how cron works. I
use the following command to capture screen shots:
screencapture /mgscreen$( date +%R )
and it returns a file like:
mgscreen13:48
Now I would like to schedule that for every half-hour, so I put the
following entry in crontab:
0,30 7-16 * * 1-6 screencapture /mgscreen$( date +%R )
and I get the following error reported through Unix mail:
Subject: Cron <marleygraham at Marley-Grahams-Computer> screencapture /
mgscreen$( d
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=marleygraham>
X-Cron-Env: <USER=marleygraham>
X-Cron-Env: <HOME=/Users/marleygraham>
Date: Wed, 22 Jun 2005 13:00:00 -0700 (PDT)
/bin/sh: -c: line 1: unexpected EOF while looking for matching `)'
/bin/sh: -c: line 2: syntax error: unexpected end of file
Can someone tell me why cron doesn't like the syntax when it works OK
on the command line?
Marley Graham
Aqua-Flo Supply
==============
More information about the X-Unix
mailing list