From: Henshall, Stuart - WCP <SHenshall@westcountrypublications.co.uk>
To: Jean-Christophe FABRE <jean-christophe.fabre@ensam.inra.fr>
To: pgsql-admin@postgresql.org
To: pgsql-cygwin@postgresql.org
Subject: Re: [CYGWIN] scheduling tasks under cygwin
Date: Fri, 15 Mar 2002 14:12:42 -0000
Message-ID: <E2870D8CE1CCD311BAF50008C71EDE8E01F7482C@MAIL_EXCHANGE> (raw)
I use at on NT to run .bat files
Example for vacuum analyse:
I first use at to run va.bat
va.bat:
c:\cygwin\bin\bash --login -i /va.sh
va.sh:
vacuumdb -a -z >/dev/null 2>&1 </dev/null
Hope this helps,
- Stuart
> -----Original Message-----
> From: Jean-Christophe FABRE
> [mailto:jean-christophe.fabre@ensam.inra.fr]
> Sent: 15 March 2002 13:11
> To: pgsql-admin@postgresql.org; pgsql-cygwin@postgresql.org
> Subject: [CYGWIN] scheduling tasks under cygwin
>
>
> Hi,
>
> to a larger way,
> what is the best way to schedule tasks such as dump, vacuum,
> analyze under
> cygwin?
> as I notice before, under Linux (and generic UNIX systems),
> you can use
> cron to do that, but under cygwin?
>
> JC
>
>
> _________________________________________________________
> Jean-Christophe FABRE
> INRA - UMR Sol & Environnement tel: +33 (0)4 99 61 23 51
> 2, place Viala fax: +33 (0)4 67 63 26 14
> 34060 MONTPELLIER cedex 1
> FRANCE
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
>
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: SHenshall@westcountrypublications.co.uk, jean-christophe.fabre@ensam.inra.fr, pgsql-cygwin@postgresql.org
Subject: Re: [CYGWIN] scheduling tasks under cygwin
In-Reply-To: <E2870D8CE1CCD311BAF50008C71EDE8E01F7482C@MAIL_EXCHANGE>
References: <E2870D8CE1CCD311BAF50008C71EDE8E01F7482C@MAIL_EXCHANGE>
* 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