X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Sun, 27 Jul 2008 17:10:58 +0200 From: r To: cygwin AT cygwin DOT com Subject: Re: script Message-ID: <20080727151058.GA3548@linux.local> Reply-To: r-trev AT fastwebmail DOT it References: <20080726221147 DOT GA1752 AT linux DOT local> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.4.2.2i X-Operating-System: CYGWIN_NT-5.1 1.5.25(0.156/4/2) X-Disclaimer: Linux X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Saturday 26 July 2008, alle 19:36, René Berber wrote: > r wrote: > > >How can I execute a script at boot time ? > >it's a simple retrieving email script with 'getmail' > [snip] > > An easy way is to use cron, with 'crontab -e' add a line like this: > > @reboot /bin/startup_retrieve_mail.sh > /dev/null 2>&1 > > Make sure the script is executable, the redirection is optional and > perhaps shouldn't be used at the beginning in case there are error or > unexpected messages, once its working you can put that in. > Great Rene', everything ok r -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/