Re: Re[2]: [Repost] F-prot update cron script fails
From: Bill Marcum (bmarcum_at_iglou.com)
Date: 02/22/04
- Previous message: Peter A. Cole: "Re: Home Mail Server"
- In reply to: VSJ: "Re: Re[2]: [Repost] F-prot update cron script fails"
- Next in thread: Bengt Thuree: "Re: [Repost] F-prot update cron script fails"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 21 Feb 2004 18:59:06 -0500 To: debian-user@lists.debian.org
On Sat, Feb 21, 2004 at 02:38:37PM +0100, VSJ wrote:
> Hi Edward,
>
> I've copied your cron script, replacing the
> existing /etc/cron.d/f-prot-installer, but I still get the following
> messages by e-mail at 4:27 and 16:27:
>
> Subject:
> Cron <root@P1> root if [ -x /usr/lib/f-prot/tools/check-updates ];
> then /usr/lib/f-prot/tools/check-updates -cron -quiet; fi
>
> Message body:
> /bin/sh: -c: line 1: syntax error near unexpected token `then'
> /bin/sh: -c: line 1: `root if [ -x /usr/lib/f-prot/tools/check-updates ];
> then /usr/lib/f-prot/tools/check-updates -cron -quiet; fi'
>
> I give up! But thanks for your reply,
>
Did you add that to /etc/crontab, or did you do "crontab -e"?
/etc/crontab:
minute hour day month day-of-week user command
other crontab files (edited with "crontab -e"):
minute hour day month day-of-week command
-- Stay away from hurricanes for a while. -- To UNSUBSCRIBE, email to debian-user-request@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- Previous message: Peter A. Cole: "Re: Home Mail Server"
- In reply to: VSJ: "Re: Re[2]: [Repost] F-prot update cron script fails"
- Next in thread: Bengt Thuree: "Re: [Repost] F-prot update cron script fails"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]