[PLUG] Shell script error explanation needed

Steve Dum dr.doom at frontier.com
Thu Aug 11 18:37:47 UTC 2016



Rich Shepard wrote:
>
>> I suspect the required facts to explain the failure are
>> 1. what directory is the real mail.list file in?
>> 2. what directory are you in when you submit the at job?
>     While this does not make sense to me since I provided the full path
> relative to ~/ (including that directory), I'll accept that somehow at
> became confused when seeking the address file.
That's why the 2 questions
a ~ based path only works if you were cd'ed to your home directory when 
you submitted the script with at.
if you were in ~/mymailtools when it was submitted, then everything has 
to be relative to ~/mymailtools.
Thus the earlier recommentation to use a full paths in the script so you 
don't have to be in a particular directory when submitting the at job.
>
> Rich
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>




More information about the PLUG mailing list