Up Prev Next
From: collardp at rabo-bank dot com
Subject: RE: Slightly off topic
Date: Jun 23 1999 7:18AM
AT works by default as a 'system' user - and so cannot use any networked
To change this, change the settings in the services entry for 'Scheduler' -
however even then it seems to be a bit hit and miss as you need a login with
access rights on the remote objects you are manipulating.
Peter Collard (x3863)
Senior Sybase DBA
The views expressed in this correspondence are those of the author and
do not necessarily represent those of Rabobank International
[mailto:owner-SYBPERL-L@listproc.net]On Behalf Of Ryan Russell
Sent: Tuesday, 22 June 1999 18:32
To: SybPerl Discussion List
Cc: SybPerl Discussion List
Subject: Re: Slightly off topic
>I have a slightly off-topic question. I have made a script that parses
the Sybase server log and looks for errors. It then prints them out in HTML
form so I >can view them on my web browser. Everything works great - except
when I try running it under the WindowsNT AT scheduler.
>From the command prompt, I can call the .pl file directly, from a batch
from a batch file calling another batch file that calls the ,pl file, etc.,
It works without fail >from the command line.
>Anything I do from the AT scheduler doesn't work. I get "Use of
value at " no matter which way I try it. Has anyone had this
of >experience before? I have another perl script that I run from the AT
scheduler and it works without fail.
If I had to guess, I'd say it was due to environment variables which are
when you run the scripts as you, but not when run as an AT job. This also
a lot with cron jobs and CGI scripts.
This message and any attachments to it are subject to copyright and are sent for the personal attention of the addressee. It may include information which is legally privileged and exempt from disclosure. Unless specifically stated to the contrary, the views expressed in this correspondence are those of the author and not those of Rabobank International. If you receive this communication in error, please advise us immediately.