You're right... it's for /usr/local/bin/bash. Obviously I had a lot more
problems than I was aware of. Its working now; thanks, I appreciate
everyone's help.
> for (( i = $numbkups ; i >= 2 ; i-- ))
> do
> let from=i-1
> mv -fv $dbkups/$from $dbkups/$i
> done
>
Hmmm, what shell is this s
Okay, the problem seems to be with a certain part of my script. Like I
said, it works fine when I start it manually (./)
I set up a few "checkpoints" if you will, and I determined that it's this
loop that cron has a problem with:
for (( i = $numbkups ; i >= 2 ; i-- ))
do
let from=i-1
mv
Yes, it is.
-rwxr-x--- 1 root wheel 1827 Nov 3 12:43 bkup-daily
>>I don't have to export /usr/local/Backup/scripts, right?
>Hmmm, no, but is the script executable?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/lis
s/bkup-daily
I don't have to export /usr/local/Backup/scripts, right?
[EMAIL PROTECTED] export
PATH="/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/bin"
-Original Message-
From: Giorgos Keramidas [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 03, 2005 1
sage-
From: Nathan Vidican [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 03, 2005 1:07 PM
To: Brandon Hinesley
Cc: [EMAIL PROTECTED]
Subject: Re: Cron Job will not run.
May be a really dumb question here, but like all technical problems, start
with
the simple stuff:
ps ax |
ROTECTED]
Sent: Thursday, November 03, 2005 12:47 PM
To: Brandon Hinesley
Cc: freebsd-questions@freebsd.org
Subject: Re: Cron Job will not run.
Brandon Hinesley wrote:
>The script below works perfectly when I run it from a console, however,
>nothing at all seems to happen as evidenced by the backu
I forgot to mention that I've already tried giving the absolute path to
every executable mentioned in the script, but to no avail.
-Original Message-
From: Chris [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 03, 2005 12:56 PM
To: Alex Zbyslaw
Cc: Brandon Hinesley; freebsd-ques
Well that's embarrassing. Good eye, thank you. Still not working though.
-Original Message-
From: DAve [mailto:[EMAIL PROTECTED]
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
I've been trying to get this working for quite a while, maybe you guys can
help me out.
This is my first time administering a FreeBSD server (or any server for that
matter) and I've only been using FreeBSD (or any other *nix for that matter)
for about 6 months.
The script below works perfectly