PhatBarren
12-01-2001, 10:57 PM
hello.
i have a shell script that has a line:
./myexecutable
in it. It works fine when i execute the scrip using ./myshellscript from the directory where the script and myexecutable are both located. But, I want to execute it using cron, and i get mail from the cron daemon saying:
./myexecutable: not found
I think it's because i must use an absolute path but i'm not sure exactly what to put...
Any suggestions??
i have a shell script that has a line:
./myexecutable
in it. It works fine when i execute the scrip using ./myshellscript from the directory where the script and myexecutable are both located. But, I want to execute it using cron, and i get mail from the cron daemon saying:
./myexecutable: not found
I think it's because i must use an absolute path but i'm not sure exactly what to put...
Any suggestions??