/cls #clear ------------- apapun itu ( menghindari missunderstanding ) kondisi yang di inginkan - laporan sarg bentuk manual ( bukan pake sarg-report daily/monthly dll dll melainkan pake sarg-x sarg -z ) - tidak ada nya tanggal transisi
adakah cara menjalankan sarg -x && sarg -z melalui crontab untuk running setiap 30 menit agar tidak terjadi : 31Jan2009-31Jan2009 Sat Jan 31 20:30:03 WIT 2009 17 441.36M 25.96M 30Jan2009-31Jan2009 Sat Jan 31 00:30:13 WIT 2009 116 1.81G 15.66M 30Jan2009-30Jan2009 Sat Jan 31 00:00:13 WIT 2009 116 1.81G 15.66M 29Jan2009-30Jan2009 Fri Jan 30 00:00:12 WIT 2009 110 1.71G 15.60M 29Jan2009-29Jan2009 Thu Jan 29 23:30:13 WIT 2009 110 1.71G 15.60M 28Jan2009-29Jan2009 Thu Jan 29 00:30:15 EST 2009 110 3.15G 28.70M 28Jan2009-28Jan2009 Wed Jan 28 23:30:15 EST 2009 110 3.15G 28.70M 27Jan2009-28Jan2009 Wed Jan 28 07:00:06 EST 2009 77 951.65M 12.35M 27Jan2009-27Jan2009 Wed Jan 28 00:00:06 EST 2009 77 949.55M 12.33M perhatikan ada nya tanggal bukan daily ada 27 -27 lalu 27-28 lalu baru 28-28 transisi sarg jatuh pada jam 07:00 adakah cara supaya transisi sarg ( pergantian hari ) terjadi pada jam 00:01 ??? r...@castor:/etc/squid# crontab -l */30 * * * * /usr/bin/sarg -f /etc/squid/sarg.conf r...@castor:/etc/squid# cat /etc/crontab # /etc/crontab: system-wide crontab # Unlike any other crontab you don't have to run the `crontab' # command to install the new version when you edit this file # and files in /etc/cron.d. These files also have username fields, # that none of the other crontabs do. SHELL=/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin # m h dom mon dow user command 17 * * * * root cd / && run-parts --report /etc/cron.hourly 01 00 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ) 47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly ) 52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly ) # -- FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab Unsubscribe: kirim email ke [email protected] Arsip dan info milis selengkapnya di http://linux.or.id/milis
