kalau yang ini yang dikirim itu output dari command itu, bukan filenya.. Yopi
On Sat, May 01, 2004 at 04:30:58AM +0800, emnaz wrote: > On Saturday 01 May 2004 01:35, "Foryanto J. Wiguna" > <[EMAIL PROTECTED]> wrote: > > > Gimana caranya ngeset supaya log di server linux kita otomatis dikirim ke > > email misalkan saya ingin log /var/log/httpd/access_log di kirim ke > > [EMAIL PROTECTED] > > > > apakah bisa pake cron? > > Di crontab ada option MAILTO= > > crontab saya : > SHELL=/bin/bash > PATH=/sbin:/bin:/usr/sbin:/usr/bin > MAILTO=root > HOME=/ > > # run-parts > 01 * * * * root nice -n 19 run-parts /etc/cron.hourly > 02 4 * * * root nice -n 19 run-parts /etc/cron.daily > > rgds, > emnaz > > > -- > Unsubscribe: kirim email kosong ke [EMAIL PROTECTED] > Arsip dan info di http://linux.or.id/milis.php > FAQ milis http://linux.or.id/faq.php -- ____________________ Yopi Gagas Ilmiawan ____________________ Q: Why does Washington have the most lawyers per capita and New Jersey the most toxic waste dumps? A: God gave New Jersey first choice. #48 _________________________ oOo __________________________ Selasa, 11 Mei 2004 === Malam, 09:44:46 PM -- Unsubscribe: kirim email kosong ke [EMAIL PROTECTED] Arsip dan info di http://linux.or.id/milis.php FAQ milis http://linux.or.id/faq.php