fetchmail at login

2001-03-15 Thread Marcelo Chiapparini
Dear Debianers I want a program to start automatically each time I login into my account. In which initializing file should I write the name of the program? Thanks in advance! -- ___ Marcelo Chiapparini DFT-IF/UERJ [EMAIL PROTECTED]

Re: fetchmail at login

2001-03-15 Thread Frederico S. Munoz
On Thu, Mar 15, 2001 at 02:20:47PM -0300, Marcelo Chiapparini wrote: Dear Debianers I want a program to start automatically each time I login into my account. In which initializing file should I write the name of the program? You could add the command to your .bashrc file, it will be

Re: fetchmail at login

2001-03-15 Thread Colin Cashman
I want a program to start automatically each time I login into my account. In which initializing file should I write the name of the program? You could add the command to your .bashrc file, it will be executed after you login. Might be better to add it to his .bash_profile, unless he's

Re: fetchmail at login

2001-03-15 Thread Frederico S. Munoz
On Thu, Mar 15, 2001 at 12:35:37PM -0500, Colin Cashman wrote: I want a program to start automatically each time I login into my account. In which initializing file should I write the name of the program? You could add the command to your .bashrc file, it will be executed after you

Re: fetchmail at login

2001-03-15 Thread Steve Cooper
You may benefit from also checking out getmail. It's simpler, cleaner and may be less prone to dropping mail (a fact advertised by the author of getmail). I find it works really well, particularly when combined with wmbiff. Wmbiff can be set up to execute getmail whenever its polling detects

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

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

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 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]

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

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