[rt-users] crontab error

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Thu Jul 19 09:26:12 EDT 2001


On Thursday, July 19, 2001 08:24:10 +0200, Alesh Mustar <alesh at sportina.si> 
wrote:
+-----
| cron: find /opt/rt2/WebRT/sessiondata -type f -amin +600 -exec rm {}\;
| find: missing argument to `-exec'
+--->8

You need a space before the semicolon, and you need to quote the baces to 
keep bash from performing brace expansion of an empty list.  ("-exec rm 
'{}' ';'")


-- 
brandon s. allbery  [os/2][linux][solaris][freebsd]   allbery at kf8nh.apk.net
system administrator   [JAPH][WAY too many hats]        allbery at ece.cmu.edu
electrical and computer engineering                                   KF8NH
carnegie mellon university     [linux: proof of the million monkeys theory]





More information about the rt-users mailing list