Closed ngocthach closed 8 years ago
I’m guessing your cron job is running with a different PATH than your normal shell. Try using a full path in your crontab entry.
Thanks, Phil
On Sep 19, 2016, at 12:40 AM, ngocthach notifications@github.com wrote:
Dear all, I use JSNAP to check some divices, I set crontab to run script
Log: which: no juise in (/usr/bin:/bin) ERROR: could not find 'juise' in your PATH
But I check PATH. It's ok
which juise
/usr/jawa/bin/juise
Thank for your reply
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Juniper/juise/issues/36, or mute the thread https://github.com/notifications/unsubscribe-auth/ACLkOJGbj9329X5hViizdH95hBXhy_Taks5qrhJJgaJpZM4KAIai.
Hi @philshafer , Thanks for your help I have fix this problem, only edit path enviroment in jsnap file (which jsnap)
Thanks all
Dear all, I use JSNAP to check some divices, I set crontab to run script
Log: which: no juise in (/usr/bin:/bin) ERROR: could not find 'juise' in your PATH
But I check PATH. It's ok
which juise
/usr/jawa/bin/juise
Thank for your reply