Re: Problems with cron

From: Taylor, David (DTaylor@WBMI.COM)
Date: Tue May 13 2003 - 09:40:10 EDT


More than likely it is an environment issue. Try sourcing the user's profile at the top of your script.

HTH

David

                -----Original Message-----
                From: Davies Sue [mailto:sdavies@BARKING-DAGENHAM.GOV.UK]
                Sent: Tuesday, May 13, 2003 8:22 AM
                To: aix-l@Princeton.EDU
                Subject: Problems with cron

                Oracle has two cron jobs

                5 12 * * * /u01/apps/oracle/admin/LIVE/backup/rmanlive_archbu.sh
                5 22 * * * /u01/apps/oracle/admin/LIVE/backup/rmanlive_hotbu.sh

                The first one will not run but the second one runs fine. The first one
                returns a message saying that
                /u01/apps/oracle/admin/LIVE/backup/rmanlive_archbu.sh cannot be found. Both
                of these work fine if oracle
                runs them from the command line.

                They both have the same permissions, owner and group.

                I'd be very grateful if anyone could help

                Many Thanks

                Sue Davies
                Technical Support Officer
                London Borough of Barking & Dagenham
                Civic Centre
                Wood Lane
                Dagenham
                RM10 7BY
                Tel: 020 8227 2737
                email:sue.davies@lbbd.gov.uk

                **********************************************************************
                http://www.barking-dagenham.gov.uk
                E-mail confidentiality notice.
                This message is intended for the addressee(s) only.
                It is private, confidential and may be covered by legal
                professional privilege or other confidentiality requirements.
                If you are not one of the intended recipients, please notify
                the sender immediately on +44(0)20-8592-4500 and delete the
                message from all locations in your computer network.
                Do not copy this e-mail or use it for any purpose or disclose
                its contents to any person: to do so may be unlawful'
                **********************************************************************

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:49 EDT