I don't know rexx, but I would guess that address system creates a new shell 
environment that will not change the rexx environment.  The sourcing of 
/etc/profile would need to be in the crontab file at a point before you invoke 
the rexx script.  Probably something like ". /etc/profile;do_the_rexx_script"

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of
Mark D Pace
Sent: Thursday, November 16, 2006 11:00 AM
To: [email protected]
Subject: Re: cron oddity?


> I can't reproduce this, but my guess is that some ls option is being set
in /etc/profile.  The cron jobs don't source /etc/profile.  >You could
source /etc/profile in your cron job with ". /etc/profile" and see if that
makes it work.

I added
address system '. /etc/profile'
to my rexx program.  No change to the ls output.   I could change the
program to accept the other date format,  but then it wouldn't work when I
want to run it manually.  Plus since I am doing this based on dates, the
yyyy-mm-dd format is really what I need.


Mark D Pace
Senior Systems Engineer
Mainline Information Systems
1700 Summit Lake Drive
Tallahassee, FL. 32317
Office: 850.219.5184
Fax: 888.221.9862
http://www.mainline.com


This e-mail and files transmitted with it are confidential, and are
intended solely for the use of the individual or entity to whom this e-mail
is addressed.  If you are not the intended recipient, or the employee or
agent responsible to deliver it to the intended recipient, you are hereby
notified that any dissemination, distribution or copying of this
communication is strictly prohibited.  If you are not one of the named
recipient(s) or otherwise have reason to believe that you received this
message in error, please immediately notify sender by e-mail, and destroy
the original message.  Thank You.

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to