pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Spike Grobstein <spike@ticketevolution.com>
To: teyking2003 <tchongking@hotmail.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: Cronjob to autobackup database
Date: Wed, 5 Dec 2012 08:35:39 -0500
Message-ID: <8288C925-35CA-463F-98D5-C6051ADAF55D@ticketevolution.com> (raw)
In-Reply-To: <1354668514317-5735088.post@n5.nabble.com>
References: <1354583597299-5734873.post@n5.nabble.com>
	<399FC9FC8BB1F748AA8BAB17B71F0DC606399F@WINPMBXD101.aeth.aetna.com>
	<1354668514317-5735088.post@n5.nabble.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

Ahh. When you said "root" I thought you meant "/".  Yes, if in /root, then /root/autopgdump.sh

You must specify absolute path in cron. 



...spike
(Sent via handheld, please pardon spelling errors)

On Dec 4, 2012, at 7:48 PM, teyking2003 <tchongking@hotmail.com> wrote:

> so if i putting the .SH files under root directory
> the cronjob will look similar like
> 30 09 * * * /root/autopgdump.sh
> 
> please advice?
> 
> 
> 
> --
> View this message in context: http://postgresql.1045698.n5.nabble.com/Cronjob-to-autobackup-database-tp5734873p5735088.html
> Sent from the PostgreSQL - admin mailing list archive at Nabble.com.
> 
> 
> -- 
> Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-admin


-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



view thread (8+ messages)  latest in thread

Message-ID: <8288C925-35CA-463F-98D5-C6051ADAF55D@ticketevolution.com>
Permalink:  ../8288C925-35CA-463F-98D5-C6051ADAF55D@ticketevolution.com/
Also on:    postgresql.org/message-id/8288C925-35CA-463F-98D5-C6051ADAF55D@ticketevolution.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: spike@ticketevolution.com, tchongking@hotmail.com
  Subject: Re: Cronjob to autobackup database
  In-Reply-To: <8288C925-35CA-463F-98D5-C6051ADAF55D@ticketevolution.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox