> I wrote a shell-script for a unix-maschine (Unix IBM AIX 4.3.2) and i used
> the wait command.
> When i start the script from the command-prompt everything works all right.
> but if i start it with the cron -job the following problems appear:
> 1) the sub-shells were not started
> 2) the wait command was ignored because 1) (i think so ;-))
> Please can anybody help me a.s.a.p.?????????
> (our data-secure does not work)
> Thanks
> Thomas Kindermann
Are you properly defining FULL path for all executables in the script?
It is possible the script works on command line because your shell has
the PATH variable defined where crontab doesn't. Another LESS gracefull
dirty workaround is to add the sourcing of your login file or add the
PATH declaration to the top of the script.
- Matt
--
AIX and HACMP Certified Specialist | | / \ |\| | \. ,_| ` o O '
/ Comments, views, and opinions \ | |_/ ^ \| | ) | | x
\ are mine alone, not IBM's. / |___|/~\_\_|\|__/|_| \___/