Crontab issue

I am getting right output through manually execute the script but got issue when I was running in crontab.

In crontab it was giving me different output (not expected) .

I have added below lines in crontab -e

SHELL=/bin/bash
PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

Now it is working fine.

Thanks

Comments

Popular posts from this blog

How to delete SEA in VIOS

More VIOS commands

Webmin configuration for LDAP