Обсуждение: 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
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 >
JC, On Fri, Mar 15, 2002 at 02:11:21PM +0100, Jean-Christophe FABRE wrote: > 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? Yes, Cygwin cron exists: http://cygwin.com/ml/cygwin-announce/2002/msg00066.html Jason
On Fri, 15 Mar 2002, Jean-Christophe FABRE wrote: > 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? Well, I know cygwin has a version of cron, but I don't know how it works or if it will work on 95/98/Me (because I don't think they have a built in scheduler right?) Andy -- acruhl@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org