From owner-freebsd-questions@freebsd.org Sun Feb 5 04:42:23 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9D955CC5903 for ; Sun, 5 Feb 2017 04:42:23 +0000 (UTC) (envelope-from fquest@paz.bz) Received: from mail.qcislands.net (mail.qcislands.net [23.235.65.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 86C94900 for ; Sun, 5 Feb 2017 04:42:22 +0000 (UTC) (envelope-from fquest@paz.bz) Received: from 254-68-235-23.haidagwaii.net ([23.235.68.254] helo=[192.168.1.12]) by mail.qcislands.net with esmtp (Exim 4.87) (envelope-from ) id 1caEeW-000CmY-7J; Sat, 04 Feb 2017 20:42:16 -0800 Subject: Re: atrun utility To: "freebsd-questions@freebsd.org" From: Jim Pazarena Message-ID: Date: Sat, 4 Feb 2017 20:42:08 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-local_scan: locally submitted (54) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Feb 2017 04:42:23 -0000 I have no issue with cron executing every minute; it does. * * * * * works fine and */1 is redundant as * means every minute No, the problem is that the specific utility, atrun determines to not execute. For whatever reason. An examination of the cron log shows the attempt,but the utility simply decides it does not qualify at that moment. I thought it was the load level (which is a criteria) but it seems not. Even running atrun from the command line fails to execute. But the jobs do eventually start executing. One a minute. It's as tho the atrun utility has a time period where it will not run. I can't figure out what that is. Nothing jumped out when looking at the source code. Jim On 2017-02-04 8:34 PM, jungle boogie wrote: > On 02/04/2017 08:03 PM, Gary Aitken wrote: >> Don't know if this is critical or not, but man crontab(5) lists the >> following >> as one of the "special" entries: >> @every_minute Run once a minute, "*/1 * * * *" >> so maybe adding the "/1" will do the trick, >> or use the string "@every_minute". >> > > Yep, the */1 is definitely needed. > > DDG can help with crons: > https://duckduckgo.com/?q=cron+*%2F1+*+*+*+*&t=hc&ia=answer > >> Gary > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"