Nadia HAIDOURI wrote:
>
> Salut every body
>
> 1- Environement :
> Informix Online-7, with OS : UnixSCO version 5.2
>
> 2- Needs
> I want to have the command to archive DATA automatiquly, so , I use the
> command crontab of unix
> the ksh script is
> 17 8 * * 1,2,3,4,5 nohup /v/informix/bin/ontape -s <oninput.txt>
> onoutput.txt
> The file oninput.txt contains 2 lines : 0 and line for enter
>
> 3- So, when i execute this commad with crontab, i have the mesage of cron
> Status : R
> initgls error -23101
>
> I hope, you have a key of my problem, "Problem of Security of data"
> Sincerly
The cron does not have the correct environment set up. Have the
crontab execute a shell script that sets up all of the Informix
required environment variables and then run ontape.
Quick an dirty way to create the script? Submit the ontape command as
an 'at' and copy the script that at produces which will contain your
current environment.
Art S. Kagel