Date: Sat, 5 Mar 2016 23:36:09 +0200 From: Chris Knipe <savage@savage.za.org> To: gahn <ipfreak@yahoo.com> Cc: Matt Emmerton <matt@gsicomp.on.ca>, "freebsd-questions@FreeBSD.org" <freebsd-questions@freebsd.org> Subject: Re: crontab is not working Message-ID: <CA%2B4TWFtqc7158LWHQ76GgWO-SuV9HX0Y%2BM8nU=CeyX%2B2c6bytg@mail.gmail.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B4TWFtqc7158LWHQ76GgWO-SuV9HX0Y%2BM8nU=CeyX%2B2c6bytg>