Hello VSJ,

Wednesday, February 11, 2004, 3:38:58 PM, you wrote:

V> Unfortunately, this doesn't work, I get an e-mail twice a day with the
V> following subject:

V> "Cron <[EMAIL PROTECTED]> root if [ -x /usr/lib/f-prot/tools/check-updates ];
V> then /usr/lib/f-prot/tools/check-updates -cron -quiet; fi"

V> (one line, without the quotation marks)

V> And with the following message body:

V> /bin/sh: -c: line 1: syntax error near unexpected token `then'
V> /bin/sh: -c: line 1: `root if [ -x
V> /usr/lib/f-prot/tools/check-updates ];
V> then /usr/lib/f-prot/tools/check-updates -cron -quiet; fi'

V> (two lines, both starting with "/bin/sh: -c: line 1: ")

V> This problems exists for almost a year. Now I'd like to solve it. I don't
V> know where the 'if' statement in the cron error message comes from.

Try /etc/cron.d/f-prot-installer

V> I already tried purging F-Prot, removing the cron script, rewrite the cron
V> script, etc. I don't know what I should do next.

This what my /etc/cron.d/f-prot-installer looks like:

27 4,16 * * * root test -x /usr/lib/f-prot/tools/check-updates &&  \
        /usr/lib/f-prot/tools/check-updates -cron
#
# Check for new version  of program once a week
#
00 12 * * 1 root test -x /usr/sbin/update-f-prot &&  \
             /usr/sbin/update-f-prot -i



HTH






-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to