Article 5FFKA Sarg command not found

Sarg command not found

by
kbvz
from LinuxQuestions.org on (#5FFKA)
Hello,

I made success sarg on redhat 8.3. when i finshed to install i had "command no found" when write command "sarg or sarg -x".

i changed $PATH by /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

i followed http://pkgs.loginroot.com/errors/notFound/sarg

i wrote this in /etc/environment

inside environment file:

Code:PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/binSo when i launch sarg command, it's ok
i disconnect my ssl connection et i'm back, command exist.

But crontab don't find command
journalctl says :
Code: (root) CMDOUT (/bin/sh: sarg: command not found)An idea why crontab don't find but root user yes ?

Thkslatest?d=yIl2AUoC8zA latest?i=6lfvtSWj3oU:Kmfr1aNkxDA:F7zBnMy latest?i=6lfvtSWj3oU:Kmfr1aNkxDA:V_sGLiP latest?d=qj6IDK7rITs latest?i=6lfvtSWj3oU:Kmfr1aNkxDA:gIN9vFw6lfvtSWj3oU
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments