[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: crontab hour range 6-midnight



Bob Proulx:
> Jochen Spieker wrote:
>> 
>> You still can use
>> 
>> PATH = "~/bin:/usr/local/bin:/usr/bin:/bin:/usr/games"
>> 
>> if the crontab belongs to the user 'rwp'.
> 
> Having a literal '~/' in there works for bash.  But it doesn't work
> for /bin/sh linked to dash for example.

Works here:

$ exec /bin/dash
$ cd /
$ pwd
/
$ cd ~
$ pwd
/home/jrschulz

J.
-- 
I wish I could do more to put the sparkle back into my marriage.
[Agree]   [Disagree]
                 <http://www.slowlydownward.com/NODATA/data_enter2.html>

Attachment: signature.asc
Description: Digital signature


Reply to: