Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TgF8b-0008KL-RW for pgsql-admin@arkaria.postgresql.org; Wed, 05 Dec 2012 13:35:45 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TgF8b-0002DK-9O for pgsql-admin@arkaria.postgresql.org; Wed, 05 Dec 2012 13:35:45 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TgF8a-0002DF-Kz for pgsql-admin@postgresql.org; Wed, 05 Dec 2012 13:35:44 +0000 Received: from smtp112.iad.emailsrvr.com ([207.97.245.112]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TgF8V-0000kU-48 for pgsql-admin@postgresql.org; Wed, 05 Dec 2012 13:35:44 +0000 Received: from smtp31.relay.iad1a.emailsrvr.com (localhost.localdomain [127.0.0.1]) by smtp31.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id 75A4F3E0531; Wed, 5 Dec 2012 08:35:37 -0500 (EST) X-SMTPDoctor-Processed: csmtpprox 2.7.4 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp31.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id 710C83E0599; Wed, 5 Dec 2012 08:35:37 -0500 (EST) X-Virus-Scanned: OK Received: by smtp31.relay.iad1a.emailsrvr.com (Authenticated sender: spike-AT-ticketevolution.com) with ESMTPSA id 5709A3E056E; Wed, 5 Dec 2012 08:35:37 -0500 (EST) References: <1354583597299-5734873.post@n5.nabble.com> <399FC9FC8BB1F748AA8BAB17B71F0DC606399F@WINPMBXD101.aeth.aetna.com> <1354668514317-5735088.post@n5.nabble.com> Mime-Version: 1.0 (1.0) In-Reply-To: <1354668514317-5735088.post@n5.nabble.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: <8288C925-35CA-463F-98D5-C6051ADAF55D@ticketevolution.com> Cc: "pgsql-admin@postgresql.org" X-Mailer: iPhone Mail (10A523) From: Spike Grobstein Subject: Re: Cronjob to autobackup database Date: Wed, 5 Dec 2012 08:35:39 -0500 To: teyking2003 X-Pg-Spam-Score: -0.8 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org Ahh. When you said "root" I thought you meant "/". Yes, if in /root, then = /root/autopgdump.sh You must specify absolute path in cron.=20 ...spike (Sent via handheld, please pardon spelling errors) On Dec 4, 2012, at 7:48 PM, teyking2003 wrote: > so if i putting the .SH files under root directory > the cronjob will look similar like > 30 09 * * * /root/autopgdump.sh >=20 > please advice? >=20 >=20 >=20 > -- > View this message in context: http://postgresql.1045698.n5.nabble.com/Cro= njob-to-autobackup-database-tp5734873p5735088.html > Sent from the PostgreSQL - admin mailing list archive at Nabble.com. >=20 >=20 > --=20 > Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-admin --=20 Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin