Daniel de los Reyes wrote:
> I want to run fetchmail as a daemon each time I log in but I don't want to
> do it manually.Is bash_profile the apropiate place to launch it from? How
> can I prevent it form being launched several times if I login at several
> consoles?
Here's how I do it. First, I w
Yes, use .bash_profile.
When you invoke fetchmail, if it is already running as a daemon it
will simply wake the daemon process and cause it to check at that
time. Then in your .bash_logout file put "fetchmail --kill" to
terminate the daemon when you logout. (Unless you want to to run all
the ti
Here are the scripts that I use (modified from the
ones in the contrib directory of the fetchmail distro)
~/.bash_profile
# Start Fetchmail up when I Login.
#- modified from script in contrib section
#- 1/24/01 Vinod Kurup [EMAIL PROTECTED]
TD
> I want to run fetchmail as a daemon each time
> I log in but I don't want to do it manually.Is
> bash_profile the apropiate place to launch it
> from? How can I prevent it form being launched
> several times if I login at several consoles?
I don't believe fetchmail will run multiple instances of
Have you checked fetchmails homepage? I remember seeing a FAQ or something
there describing how to do this. The gist of it revolved around
creating/removing temporary files using ~/.bash_profile and ~/.bash_logout
using a specific file mask, ~/.bash_logout would look for other files, and if
o
I want to run fetchmail as a daemon each time I log in but I don't want to do
it manually.Is bash_profile the apropiate place to launch it from? How can I
prevent it form being launched several times if I login at several consoles?
Thank's
--
__
Daniel de los Reyes
6 matches
Mail list logo