X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 9CB045E3632 for ; Thu, 2 Sep 2004 06:57:33 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 82682-03 for ; Thu, 2 Sep 2004 09:57:24 +0000 (GMT) Received: from rhws.home.edu (66-23-211-34.clients.speedfactory.net [66.23.211.34]) by svr1.postgresql.org (Postfix) with ESMTP id 317665E470A for ; Thu, 2 Sep 2004 06:57:22 -0300 (ADT) Received: from [127.0.0.1] (rhws.home.edu [127.0.0.1]) by rhws.home.edu (8.12.11/8.12.11) with ESMTP id i829vOFg008648 for ; Thu, 2 Sep 2004 05:57:24 -0400 Message-ID: <4136EE84.8040001@3times25.net> Date: Thu, 02 Sep 2004 05:57:24 -0400 From: Geoffrey User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Re: Create Linux Script for PostgreSQL database backup References: <20040901132055.17178.qmail@web61008.mail.yahoo.com> <200409020744.03552.tech@glastonburymusic.org.uk> <4136C42B.50303@tentacle.net> In-Reply-To: <4136C42B.50303@tentacle.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200409/24 X-Sequence-Number: 14727 Kaolin Fire wrote: > For that matter: > > echo "1 3 * * * postgres /usr/local/bin/pg_dumpall > > ~/backup.sql" >> /etc/crontab > > note to remember the two >>'s so you don't obliterate your crontab like > I just did. Unless things have changed, and they might have, you have to tell cron to reread the crontab file for it to process your addition. Your better solution is to use the tools designed for editing crontab, such as 'crontab -e.' If you use this tool, crontab will automagically reread the file. -- Until later, Geoffrey Registered Linux User #108567 AT&T Certified UNIX System Programmer - 1995