linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sven Pfeifer <sven@yagonna.de>
To: linux-admin@vger.kernel.org
Subject: Re: fetchmail sceduling
Date: Fri, 10 Oct 2003 11:22:32 +0200	[thread overview]
Message-ID: <20031010092232.GA2221@yagonna.de> (raw)
In-Reply-To: <016101c38efb$54ad12b0$04c809c0@himalaya>

Hi,

Sarvesh Singhal <ssinghal@abhikalak.com> wrote:
> Hi,
> 
> We shut down the systems in the evening and so next day I have to again run
> fetchmail to run in daemon mode. I tried using cron so that next day it
> starts. but it does not works rather I have to manually run the fetchmail
> command to start trhe fetchmail in daemon mode

why don´t you start the fetchmail-daemon when entering the correct
runlevel? e. g. a script called fetchmaild in /etc/rc.d/init.d/
containing something like:

---8<--
  #!/bin/bash

  ### path to binary ###
  FETCHMAIL_BIN="/usr/bin/fetchmail"

  ### time between two polls in sec ###
  POLLTIME="300"

  ### file whith host, user, password definitions ###
  FETCHMAILRC="/etc/fetchmailrc

  ### starting the daemon with logging to syslog ###
  ${FETCHMAIL_BIN} -d ${POLLTIME} -f ${FETCHMAILRC} --syslog
-->8---

> Please help!!

HTH

> SS

Cheers

	Sven

-- 
Why you can't find your system administrators:
  Convinience store across the street opened
------------------------------------------------------[rand. sig. #16]
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2003-10-10  9:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-10  6:54 fetchmail sceduling Sarvesh Singhal
2003-10-10  7:57 ` César Soler
2003-10-10  9:22 ` Sven Pfeifer [this message]
2003-10-10 21:11   ` John Julian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031010092232.GA2221@yagonna.de \
    --to=sven@yagonna.de \
    --cc=linux-admin@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).