From owner-freebsd-questions@freebsd.org Sat Mar 5 21:36:10 2016 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 D18D4A924DB for ; Sat, 5 Mar 2016 21:36:10 +0000 (UTC) (envelope-from cknipe@savage.za.org) Received: from mail-qk0-x230.google.com (mail-qk0-x230.google.com [IPv6:2607:f8b0:400d:c09::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 913839DA for ; Sat, 5 Mar 2016 21:36:10 +0000 (UTC) (envelope-from cknipe@savage.za.org) Received: by mail-qk0-x230.google.com with SMTP id s68so34020779qkh.3 for ; Sat, 05 Mar 2016 13:36:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=savage-za-org.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc; bh=QROa1yW9eYqOdOUOxVqyE0otZ55LH56xa960w6RBpBc=; b=vjiB8jt3viuM2XKI08I48ApFNshCTBrNh2uWpfyTTfO75gN77+dcbZ0VNChRXBYMZ3 /izyeHSUiI1QaGKKEcIs/vzdpozYR1y2tzsvnk99ZLSipHipthP0sZwB5M5Q9/NSoTkZ dREhozqWGYEjrS4TQiocGmVpyyUGJrkvLxWIAwfMzFC40jxQgNxAJwoFq7fqJXprr8kL BdB5CCJ55/2cHBdIN+J3ERkEXblqSjOhXz91kafLZOKxJ0ebbvylY9Y2RDPVwT07sIPX P1EEPIUe07sNXZrZeIhx/EZUNiI2+Kkj53OElVtMftDkZP3KtvxdwSvHD5aqrM+1IKrD G3hA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc; bh=QROa1yW9eYqOdOUOxVqyE0otZ55LH56xa960w6RBpBc=; b=iCpKBwC4Tf5qAa/rDtURDt+Y+khODvxTHHhhRJxDMs7+x4dVC758/Bl7HLjpVEUunE m3Qrc1+5eO1RzdO5v3vtbHUVyqCYo5+0vfNQ1vmzxl2N/in5MS0qrVCyxW+7/b6jA7Sd g9Y7nFRlWquX2oPfOrH7312Bf/IFFXzXzHe4FziatHOw43NBacSTjN039SMz321a1OJt iiVtUTxj6yYGRG7MqkdOlA1GQ8bccX7PrnymmAZArhYI2HBaqYZtNglHB9Kp/I9jcFhq kIUZmuGbsSEFXSmtWqmiwzRyuw5l2lS7ZqLhH2up8E0hLiDNdPltc+3j+Kv2oPeBArTF g1Fg== X-Gm-Message-State: AD7BkJKdrkL1zOjuSupGhm6BzuMhDobQcsRVJOsBdmchNgQdOL1xrw4TbM1osWe2XupIAEweEEDd4lvz2QBOzw== MIME-Version: 1.0 X-Received: by 10.55.19.96 with SMTP id d93mr19158967qkh.12.1457213769642; Sat, 05 Mar 2016 13:36:09 -0800 (PST) Sender: cknipe@savage.za.org Received: by 10.55.148.65 with HTTP; Sat, 5 Mar 2016 13:36:09 -0800 (PST) X-Originating-IP: [169.1.134.164] In-Reply-To: <1539211206.3089370.1457152417778.JavaMail.yahoo@mail.yahoo.com> References: <047b01d17693$e5151810$af3f4830$@on.ca> <1539211206.3089370.1457152417778.JavaMail.yahoo@mail.yahoo.com> Date: Sat, 5 Mar 2016 23:36:09 +0200 X-Google-Sender-Auth: h8JEtiEHy2XuNgMtppJp1GxGNEk Message-ID: Subject: Re: crontab is not working From: Chris Knipe To: gahn Cc: Matt Emmerton , "freebsd-questions@FreeBSD.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2016 21:36:11 -0000 On Sat, Mar 5, 2016 at 6:33 AM, gahn via freebsd-questions < freebsd-questions@freebsd.org> wrote: > thanks matt: > yes i did remove that "root", but it still a no go. nothing happened. run > that script manually with "bash /root/snmpwalk.sh" with no issues. > i am puzzled. > > That's not how crontab is calling (executing) the script, is the script executable? You should run it by just calling "/root/snmpwalk.sh" from the shell...