Citrix/Windows 2000 Scheduled Task fails

N

Neko-

Configuration: Windows 2000 Server SP4, with Citrix MetaFrame 1.8
installed.

Goal: Scheduling an automatic import for a database.

When setting up the task (through the Citrix console as the
Administrator) everything works normally. Testing the task by running
it manyally (right-click it, and selecting 'Run') shows me an end
error state of 0x0, which means the task runs properly.

When the Citrix session is quit, and the task is left to it's own
devices the task keeps failing with an error condition of 0xc0000025.
Microsoft states these errors are returned from the program
(error-levels), so I contacted the supplier of the program I'm trying
to run. They state this is a Microsoft message that implicates a
'Non-continuable Exception'.

Other scheduled tasks run normally.

Summary: When starting the task manually and watching it complete
(thru a Citrix session) works properly. Setting up the same task
without monitoring it fails. Anyone any idea of what might be wrong
here?

Thanks in advance for any responses,

J. van Doornik
 
P

Pegasus \(MVP\)

Run your scheduled command in a batch file and add some
basic diagnostics to see what the task is doing when left
to itself:

@echo off
echo %date% %time% Start of task > c:\test.log
echo Path=%path% >>c:\test.log
echo User=%UserName% >> c:\test.log
c:\SomeFolder\YourTask.exe 1>>c:\test.log 2>>c:\test.err
echo %date% %time% End of task >> c:\test.log

When you examine your log files then you will probably
see what's wrong.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top