crontab and exec

crontab and exec

 

  




I'm having a heck of a time with cron on WBEL (linux). (sysadmin being
twirp) -- teaching me sysadmin by letting me figure it out myself, (ie
lazy)... except I don't want to be a sysadmin... nuf of that).

1) Some of you may recall my "exec 1>${file} 1>&2" line of code I use
in my scripts... I am attempting to solve my original riddle (which I
won't go into here), by running my script now via cron. What used to
work does not seem to correctly, at least on this box.

I cannot get any statement after the 'exec' to echo anywhere IF the
script is called from cron. (It works otherwise).

-------------------

2) ALSO. cron is runnig on EST, and my 'date' displays GMT... (I want
cron to run on GMT time as well.

More /etc/sysconfig/clock
ZONE="Europe/London"
UTC=true
ARC=false

Other server have different settings. Where do I go from here?
Something is missing as 'normal' sysadmins have already set up such
things for me and my scripts 'normally' work.


Thanks

Oracle LazyDBA home page