Tugger the SLUGger!SLUG Mailing List Archives

RE: [SLUG] scripting/crontab problem - semi solved


seems it is an internal program error in the cobol.

I forgot I had turned off the option to receive email from that server so
had a pile of error messages there when I checked.

Thanks for the pointers...boils down to stupidity I am afraid.

regards

Alister

> -----Original Message-----
> From: slug-admin@xxxxxxxxxxx [mailto:slug-admin@xxxxxxxxxxx]On Behalf Of
> Alister Waller
> Sent: Friday, 4 May 2001 2:46 PM
> To: Slug
> Subject: [SLUG] scripting/crontab problem
>
>
> Hi,
>
> I have a small script to automate some data import and export from our
> software. All it does is create a couple of environment variables and then
> run a cobol program.
> I can run this script manually without any problems whatsoever but it does
> not want to run from a cron job.
>
>
> any idea what could be causing this or what i should be looking at?
>
> The script is very basic and I am only testing so don't be too
> critical. ;)
>
> The ediexp script is as follows:
>
> RUNPATH=/usr/rr/test/rrcob
> export RUNPATH
> DATAPATH=/usr/rr/test/data
> export DATAPATH
> runcobol RRLOGED4 -c terminfo.cfg -k -a "A 132 9 y 1"
>
>
>
> Crontab is:
>
> 5,15,25,35,45,55 8-19 * * 1-5 /usr/bin/ediexp
>
>
>
> regards
>
> Alister
>
>
> --
> SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
> More Info: http://slug.org.au/lists/listinfo/slug
>