[Zope] start zserver with cronjob

Jos van der Vleuten Jos.van.der.Vleuten@transiciel.nl
Tue, 4 Feb 2003 14:19:53 +0100


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C2CC50.1AB7D360
Content-Type: text/plain;
	charset="iso-8859-1"

Thanks Andrew,

That will do the job, but what if my provider reboots his server
Is it possible to run a cronjob to start the zserver after a reboot?

Regards,
Jos van der Vleuten

-----Oorspronkelijk bericht-----
Van: Andrew Altepeter [mailto:aaltepet@bethel.edu]
Verzonden: dinsdag 4 februari 2003 14:09
Aan: Jos van der Vleuten
CC: 'zope@zope.org'
Onderwerp: Re: [Zope] start zserver with cronjob


Hi Jos,

How about ./start &

The '&' tells the shell to execute the program in the background.  This
will allow you to exit your ssh session, and still have zope running.

Cheers,
Andy

On Tue, 2003-02-04 at 06:38, Jos van der Vleuten wrote:
> Hello all,
> 
> I have installed zope on my webspace at a hosting provider.
> With ssh i can start the zserver with the ./start command, but when i
> close the ssh-session the
> zserver stops executing.
> Now i want to make a cronjob to automate this task of running the
> zserver.
> I'm not very familiar with linux, so can somebody explain me how to do
> this.
> 
> Jos van der Vleuten
> Programmeur / Analist
> http://www.walcheren-online.net
> 
> UCC Business Solutions
> 
> Buizerdlaan 2
> Postbus 1534
> Nieuwegein 
> Telefoon +31 (0)30 6008600
> Fax +31 (0)30 6008601
> http://www.ucc.nl
> 
> Have a nice day !
> 

------_=_NextPart_001_01C2CC50.1AB7D360
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: [Zope] start zserver with cronjob</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Thanks Andrew,</FONT>
</P>

<P><FONT SIZE=2>That will do the job, but what if my provider reboots his server</FONT>
<BR><FONT SIZE=2>Is it possible to run a cronjob to start the zserver after a reboot?</FONT>
</P>

<P><FONT SIZE=2>Regards,</FONT>
<BR><FONT SIZE=2>Jos van der Vleuten</FONT>
</P>

<P><FONT SIZE=2>-----Oorspronkelijk bericht-----</FONT>
<BR><FONT SIZE=2>Van: Andrew Altepeter [<A HREF="mailto:aaltepet@bethel.edu">mailto:aaltepet@bethel.edu</A>]</FONT>
<BR><FONT SIZE=2>Verzonden: dinsdag 4 februari 2003 14:09</FONT>
<BR><FONT SIZE=2>Aan: Jos van der Vleuten</FONT>
<BR><FONT SIZE=2>CC: 'zope@zope.org'</FONT>
<BR><FONT SIZE=2>Onderwerp: Re: [Zope] start zserver with cronjob</FONT>
</P>
<BR>

<P><FONT SIZE=2>Hi Jos,</FONT>
</P>

<P><FONT SIZE=2>How about ./start &amp;</FONT>
</P>

<P><FONT SIZE=2>The '&amp;' tells the shell to execute the program in the background.&nbsp; This</FONT>
<BR><FONT SIZE=2>will allow you to exit your ssh session, and still have zope running.</FONT>
</P>

<P><FONT SIZE=2>Cheers,</FONT>
<BR><FONT SIZE=2>Andy</FONT>
</P>

<P><FONT SIZE=2>On Tue, 2003-02-04 at 06:38, Jos van der Vleuten wrote:</FONT>
<BR><FONT SIZE=2>&gt; Hello all,</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; I have installed zope on my webspace at a hosting provider.</FONT>
<BR><FONT SIZE=2>&gt; With ssh i can start the zserver with the ./start command, but when i</FONT>
<BR><FONT SIZE=2>&gt; close the ssh-session the</FONT>
<BR><FONT SIZE=2>&gt; zserver stops executing.</FONT>
<BR><FONT SIZE=2>&gt; Now i want to make a cronjob to automate this task of running the</FONT>
<BR><FONT SIZE=2>&gt; zserver.</FONT>
<BR><FONT SIZE=2>&gt; I'm not very familiar with linux, so can somebody explain me how to do</FONT>
<BR><FONT SIZE=2>&gt; this.</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; Jos van der Vleuten</FONT>
<BR><FONT SIZE=2>&gt; Programmeur / Analist</FONT>
<BR><FONT SIZE=2>&gt; <A HREF="http://www.walcheren-online.net" TARGET="_blank">http://www.walcheren-online.net</A></FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; UCC Business Solutions</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; Buizerdlaan 2</FONT>
<BR><FONT SIZE=2>&gt; Postbus 1534</FONT>
<BR><FONT SIZE=2>&gt; Nieuwegein </FONT>
<BR><FONT SIZE=2>&gt; Telefoon +31 (0)30 6008600</FONT>
<BR><FONT SIZE=2>&gt; Fax +31 (0)30 6008601</FONT>
<BR><FONT SIZE=2>&gt; <A HREF="http://www.ucc.nl" TARGET="_blank">http://www.ucc.nl</A></FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; Have a nice day !</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C2CC50.1AB7D360--