I have a file in cron.daily:
[email protected]:/# cat /etc/cron.daily/nagios-logs /usr/bin/nice -n 19 /bin/gzip --fast /var/log/nagios3/archives/* [email protected]:/# ls -l /etc/cron.daily/nagios-logs -rwxr-xr-x 1 root root 65 Apr 15 17:51 /etc/cron.daily/nagios-logs [email protected]:/# but it's not doing anything. Any ideas why?
/var/log/nagios3/archives/. When I execute it manually it works.>> /tmp/file.log 2>&1to see if there is any debug/error?catcommand is full and not edited