Am 2005-03-28 03:55:44, schrieb Payal Rathod:
Hi,
I have fetchmail running every 20 mins. Sometimes due to bad link or
a big mail stuck in queue, fetchmail does not work. This is not a
problem when I am around. But in my absence my boss would need to
know when was the last time fetchmail ran successfully. Can fetchmail
trigger an event like sending a mail or updating a (internal) webpage
to give the time and day etc after a successful run? Or is there any
other possible solution?
I use a wraper Script :-)
__( '/var/log/tdfetchmail/2005-03-28.log' )___________________________
/
| 2005-03-28 12:15:02 : Processing started...
| 2005-03-28 12:15:02 : athina.russel default (1: No mail)
| 2005-03-28 12:15:03 : ccenter default (1: No mail)
| 2005-03-28 12:15:08 : dgse default (1: No mail)
| 2005-03-28 12:15:20 : diana.seitz default (1: No mail)
| 2005-03-28 12:15:23 : farahnaz.pahlavi default (1: No mail)
| 2005-03-28 12:15:24 : fayah.dogan default (1: No mail)
| 2005-03-28 12:15:28 : karima.kalaaji default (1: No mail)
| 2005-03-28 12:15:30 : lydia.ackermann default (1: No mail)
| 2005-03-28 12:15:31 : michelle.konzack 0_private (1: No mail)
| 2005-03-28 12:15:45 : michelle.konzack 1_tdnet (0: Success)
| 2005-03-28 12:16:06 : michelle.konzack 2_devel (1: No mail)
| 2005-03-28 12:16:22 : michelle.konzack 3_arabeyes (0: Success)
| 2005-03-28 12:16:27 : michelle.konzack 4_bts (1: No mail)
| 2005-03-28 12:16:31 : michelle.konzack 5_postgresql (1: No mail)
| 2005-03-28 12:16:32 : michelle.konzack 6_php (1: No mail)
| 2005-03-28 12:16:32 : michelle.konzack 7_linux (0: Success)
| 2005-03-28 12:16:37 : michelle.konzack 8_mailsoftware (1: No mail)
| 2005-03-28 12:16:38 : michelle.konzack 9_debian (0: Success)
| 2005-03-28 12:17:05 : michelle.konzack A_misc (1: No mail)
| 2005-03-28 12:17:06 : michelle.konzack B_wanadoo (1: No mail)
| 2005-03-28 12:17:47 : michelle.konzack C_lugs (1: No mail)
| 2005-03-28 12:17:48 : michelle.konzack F_tdautobuilder (2: Socket)
| 2005-03-28 12:17:53 : mis default (1: No mail)
| 2005-03-28 12:17:55 : mos default (1: No mail)
| 2005-03-28 12:17:57 : noor.nurani default (1: No mail)
| 2005-03-28 12:17:58 : omegasector default (1: No mail)
| 2005-03-28 12:17:59 : sandrine.dario default (1: No mail)
| 2005-03-28 12:18:00 : tamay.dogan default (1: No mail)
| 2005-03-28 12:18:03 : zelie.domeracki default (1: No mail)
|
-------------------------------------------------------------------------------
| Availlable diskspace:
| Filesystem 1M-blocks Used Available Use% Mounted on
| /dev/hda9 72287 55176 13438 81% /home
|
===============================================================================
\______________________________________________________________________
I run the logfile on the console via 'tail'...
And as you see at my account "michelle.konzack" I can have multiple
fetchmailrc. In the last colum you see the error message.
Oh yes, curently I try to enhance my "tdfetchmaiL"...
That what you need can only be done by a wraper script called ba cron.
Thanks in advance.
-Payal
Greetings
Michelle
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSM LinuxMichi
0033/3/88452356 67100 Strasbourg/France IRC #Debian (irc.icq.com)
signature.pgp
Description: Digital signature