Re: Running fetchmail at login time

2001-01-24 Thread Mike
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

Re: Running fetchmail at login time

2001-01-24 Thread D-Man
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

Re: Running fetchmail at login time

2001-01-24 Thread Vinod Kurup
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

Re: Running fetchmail at login time

2001-01-24 Thread Hall Stevenson
> 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

Re: Running fetchmail at login time

2001-01-24 Thread Brad Burns
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

Running fetchmail at login time

2001-01-24 Thread Daniel de los Reyes
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