On Mon, 9 May 2016, [email protected] wrote:

> I have not been able to get even a simple command to run from cron.  For a
> test I created this script:
> 
> #!/bin/sh
> 
> export PATH="/usr/bin:/usr/sbin:/root"

/bin/sh doesn't support that nomenclature for exporting variables;
you have to define them in one statement and export them in another.
For example:

PATH="/usr/bin:/usr/sbin:/root"
export PATH

-- 
Rich Teer, Publisher
Vinylphile Magazine

www.vinylphilemag.com

_______________________________________________
openindiana-discuss mailing list
[email protected]
http://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to