Cron Job will not run.

Brandon Hinesley brandonh at hotandcold.biz
Thu Nov 3 20:50:37 GMT 2005


Well that's embarrassing.  Good eye, thank you.  Still not working though.

-----Original Message-----
From: DAve [mailto:dave.list at 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 at 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




More information about the freebsd-questions mailing list