Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Nov 2005 12:51:28 -0800
From:      "Brandon Hinesley" <brandonh@hotandcold.biz>
To:        "'DAve'" <dave.list@pixelhammer.com>
Cc:        freebsd-questions@freebsd.org
Subject:   RE: Cron Job will not run.
Message-ID:  <000e01c5e0b8$5e9bf2d0$6800a8c0@BrandonH>
In-Reply-To: <436A74E3.2010804@pixelhammer.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Well that's embarrassing.  Good eye, thank you.  Still not working though.

-----Original Message-----
From: DAve [mailto:dave.list@pixelhammer.com] 
Sent: Thursday, November 03, 2005 12:37 PM
To: Brandon Hinesley
Subject: Re: Cron Job will not run.

Brandon Hinesley wrote:

> Here's a copy of my backup script:
> --------------------
> root@server# cat /usr/local/Backup/scripts/bkup-daily
> #/bin/sh
> ##########Initialization##########
> #--Initialize variables--#

Quick quess? the shebang line is wrong. Try this,

#!/bin/sh

You need the exclamation point to tell the interpreter to execute the 
script with the appropriate shell.

DAve





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000e01c5e0b8$5e9bf2d0$6800a8c0>