From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 18 Nov 2002 13:31:55 +0300 From: Igor Homyakov To: ALT Community Message-ID: <20021118103155.GH1550@kadath.pm.ramax.spb.ru> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="JYK4vJDZwFMowpUq" Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.4i X-Operating-System: GNU/Linux (ALT Linux http://altlinux.org) Subject: [Comm] [JT] [listserv@ugu.com: Unix Tip: FORGET THE CRONTAB MAN] Sender: community-admin@altlinux.ru Errors-To: community-admin@altlinux.ru X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.0.9 Precedence: bulk Reply-To: community@altlinux.ru List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Archived-At: List-Archive: List-Post: --JYK4vJDZwFMowpUq Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit Совет как раз для меня, каждый раз приходиться в ман лазит т.к поля забываю :) -- Igor Homyakov http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=190141 --JYK4vJDZwFMowpUq Content-Type: message/rfc822 Content-Disposition: inline Return-Path: Delivered-To: homyakov@ramax.spb.ru Received: (qmail 27377 invoked from network); 15 Nov 2002 18:31:28 -0000 Received: from ugu.com (208.179.92.72) by 0 with SMTP; 15 Nov 2002 18:31:27 -0000 Received: (from listserv@localhost) by ugu.com (8.9.3/8.9.3) id KAA28332 for homyakov@ramax.spb.ru; Fri, 15 Nov 2002 10:34:15 -0800 Date: Fri, 15 Nov 2002 10:34:15 -0800 From: Unix Guru Universe Message-Id: <200211151834.KAA28332@ugu.com> To: homyakov@ramax.spb.ru Subject: Unix Tip: FORGET THE CRONTAB MAN =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= UNIX GURU UNIVERSE UNIX HOT TIP Unix Tip 2145 - November 15, 2002 http://www.ugu.com/sui/ugu/show?tip.today =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= FORGET THE CRONTAB MAN For some reason many admins forget the field order of the crontab file and alway reference the man pages over-and-over. Make your life easy. Just put the field definitions in your crontab file and comment (#) the lines out so the crontab file ignores it. #minute (0-59), #| hour (0-23), #| | day of the month (1-31), #| | | month of the year (1-12), #| | | | day of the week (0-6 with 0=Sunday). #| | | | | commands 0 2 * * 0,4 /etc/cron.d/logchecker -------------------------------------------------------------------------- To Subscribe: http://www.ugu.com/sui/ugu/show?tip.subscribe To Unsubscribe: http://www.ugu.com/sui/ugu/show?tip.unsubscribe To Submit A Tip: http://www.ugu.com/sui/ugu/show?tip.today ========================================================================== DISCLAIMER: All UNIX HOT TIPS ARE OWNED BY THE UNIX GURU UNIVERSE AND ARE NOT TO BE SOLD, PRINTED OR USED WITHOUT THE WRITTEN CONSENT OF THE UNIX GURU UNIVERSE. ALL TIPS ARE "USE AT YOUR OWN RISK". UGU ADVISES THAT ALL TIPS BE TESTED IN A NON-PRODUCTION DEVELOPMENT ENVIRONMENT FIRST. Unix Guru Universe - www.ugu.com - tips@ugu.com - Copyright 1994-2001 ========================================================================== --JYK4vJDZwFMowpUq--