Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Aug 2002 17:37:07 +0100
From:      "Barry Byrne" <barry.byrne@wbtsystems.com>
To:        "Cliff" <cliff@travelguides.com>, <freebsd-questions@FreeBSD.ORG>
Subject:   RE: Cron running scripts
Message-ID:  <NCBBIAMNAKDKFJIIGNPKIEPKJCAA.barry.byrne@wbtsystems.com>
In-Reply-To: <009201c23f5d$a48911b0$6401a8c0@tsunami>

next in thread | previous in thread | raw e-mail | index | archive | help
You need to supply some more details:

Could be permissions problem? What user's crontab is being used?
Could be you are using relative directory's in your script, which work fine
when you run manually from the appropriate directory, but the cron job
starts elsewhere.

Posting the script would be a help.

 - Barry

--
Barry Byrne, IT Manager,
WBT Systems, Block 2, Harcourt Centre
Harcourt Street, Dublin 2, Ireland


> -----Original Message-----
> From: owner-freebsd-questions@FreeBSD.ORG
> [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Cliff
> Sent: 09 August 2002 05:32
> To: freebsd-questions@FreeBSD.ORG
> Subject: Cron running scripts
>
>
> I have a perl script that is run every night to backup some
> directories. The
> output from the scripts says it completed fine, but nothing is actually
> output. When I run the script manually it produces the same output, but it
> actually writes the backup files. Why doesn't cron running the script do
> this?
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NCBBIAMNAKDKFJIIGNPKIEPKJCAA.barry.byrne>