Full path to a shell script
Thank you for your answer, falko.
I've tried:
MAILTO=my_email_address@abc.com
30 * * * * sh /usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/opt/dell/srvadmin/bin/my_shell_script
and
MAILTO=my_email_address@abc.com
30 * * * * sh /usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/opt/dell/srvadmin/bin/.my_shell_script
(just playing with keeping/not keeping dot in front of the shell script name at the end of the path)
both instances - no joy: the same
"sh: /usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/opt/dell/srvadmin/bin/backup/democronjobs/my_shell_script: No such file or directory"
and
"sh: /usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/opt/dell/srvadmin/bin/backup/democronjobs/.my_shell_script: No such file or directory"
error messages in my mailbox.
Cheers,
Alex
|