View Single Post
Old 14th October 2012, 21:33
frosty frosty is offline
Junior Member
Join Date: Oct 2012
Location: United Kingdom
Posts: 7
Thanks: 7
Thanked 0 Times in 0 Posts
Default Full path to a shell script

Thank you for your answer, falko.

I've tried:
30 * * * * sh /usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/opt/dell/srvadmin/bin/my_shell_script

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"


"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.


Reply With Quote