In your script:

CP=/usr/gnu/bin/cp
$CP /old/file /new/file

Set the exact commands you want to run in variables at the top of the script, 
then use the variables in the script.


> -----Original Message-----
> From: [email protected] [mailto:sysadmin-
> [email protected]] On Behalf Of Tonmaus
> Sent: Tuesday, May 04, 2010 9:50 AM
> To: [email protected]
> Subject: Re: [sysadmin-discuss] cron command set problems
> 
> /usr/gnu/bin is on 1st position in env already for all users, and it
> doesn't seem to change in dependency to the shells I am invoking,
> either.
> 
> ?!?
> 
> - Tonmaus
> --
> This message posted from opensolaris.org
> _______________________________________________
> sysadmin-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/sysadmin-discuss
_______________________________________________
sysadmin-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/sysadmin-discuss

Reply via email to