Re: Cronjob to autobackup database - Mailing list pgsql-admin

From Spike Grobstein
Subject Re: Cronjob to autobackup database
Date
Msg-id 8288C925-35CA-463F-98D5-C6051ADAF55D@ticketevolution.com
Whole thread Raw
In response to Re: Cronjob to autobackup database  (teyking2003 <tchongking@hotmail.com>)
List pgsql-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


pgsql-admin by date:

Previous
From: "arunpadule@gmail.com"
Date:
Subject: Re: Cronjob to autobackup database
Next
From: teyking2003
Date:
Subject: Re: Cronjob to autobackup database