> > Gimana caranya agar fetchmail execute setiap 5 menit, jadi > setiap 5 menit menarik e-mail dari pop server. > Aku coba jalankan crond tapi masih gagal, > > */5 * * * * /usr/bin/fetchmail -f ./mail > > > ket: ./mail > poll mail.pop3xxx.xxx proto pop3 user xxxx password nnnn is > xxxx here
CMMIW sek rek.... coba gini dulu .... pake cara sederhana... 0. pastikan fetchmail,procmail, dan smtp udah jalan 1.buat file .fetcmailrc di home dir vi .fetchmailrc poll mail.pop3xxx.xxx proto pop3 user xxxx password nnnn mda "procmail -d %T" 2.# chmod 0710 .fetchmailrc 3.# fetchmail -va kalau sampe step 3 berhasil, untuk di buat daemonized bisa dengan langkah berikut : (ambil email tiap 5 menit) 4.# fetchmail -d 300 5.otomatisasi bisa dengan cara sederhana seperti ini su user -c 'fetchmail -d 300' 5.a buat file kosong, isi dengan perintah su user -c 'fetchmail -d 300 &' 5.b chmod +x file tersebut , dan letakkan pada rc.local 5.c kalo mau via cron, skip 5a dan 5b, command : su user -c 'fetchmail -s' & letakkan pada file kosong, chmod +x file tsb, dan letakkan pada cron : cron -e */5 * * * * /path-to-fil-tsb/file-tsb 6. more fun if you read the manual first....... --------------------------------------------------------------------- Jumlah pelanggan (updated daily): 184 Untuk berhenti berlangganan, kirim email ke: [EMAIL PROTECTED] Arsip milis, hyperlink: http://www.mail-archive.com/[email protected]/
