at and cron annoyingly different

William Park opengeometry-FFYn/CNdgSA at public.gmane.org
Fri Nov 18 02:13:41 UTC 2011


On Wed, Nov 16, 2011 at 10:05:08PM -0500, D. Hugh Redelmeier wrote:
> - at(1) runs the script with $0 set to /bin/bash so my cd is actually
>   very wrong for at.  I don't want /bin as the working directory.

Are you sure?  Because $0 for a shell script is the filename of that
script.

-- 
William
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list