[rt-users] crontab error

Alesh Mustar alesh at sportina.si
Thu Jul 19 02:24:10 EDT 2001


Re all,

i've setup the crontab to clean the Mason files...

0 * * * * find /opt/rt2/WebRT/sessiondata -type f -amin +600 -exec rm {}\;

note the -type instead of --type which is written in README, if i use 
--type i get wrong parameter, man pages of find point to -type not 
--type (typo in README, or slackware difference, tho i doubt)!

I get crontab errors for -exec anyone has an idea?

cron: find /opt/rt2/WebRT/sessiondata -type f -amin +600 -exec rm {}\;
find: missing argument to `-exec'

Thanks in advance,
A.







More information about the rt-users mailing list