SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Execution from service not possible

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Execution from service not possible
Author Message
Dominik



Joined: 30 Jul 2007
Posts: 36

Post Execution from service not possible Reply with quote
Dear Support Team,

i've created 3 Jobs to test the execution of an Batchfile of a non-gui exe with params.
1) a job executing a Batch File
2) a JAL Job Run( exe_prog, exe_path, ret_num )
3) a JavaScript Job var result = Process.run(exe_prog);

I was sheduling them ever 1 minute together with a reference (just Email sending) script.
these jobs are working well in Scheduler. The Executeable is started (some ETL Funktions). Everything is fine.

But when i close the scheduler and start the service. Only the Email script is still working.
The scheduler Log said: Job started & finished but nothing happens (ETL doesnt show the expected result)

Are BatchFiles no Solution for Services?
Is there a possiblity to see more Logging Infos?

Best regards
Dominik König


Last edited by Dominik on Fri Oct 11, 2013 8:31 am; edited 1 time in total
Fri Oct 11, 2013 5:58 am View user's profile Send private message
Dominik



Joined: 30 Jul 2007
Posts: 36

Post Re: Execution from service not possible Reply with quote
Dominik wrote:
1) a job executing a Batch File


tried it with the exe & params:
In this case its:
c:\programme\cognos\c8_datamanager\bin\rundsjob.exe ORACLE dmcatp1/~81021ED2BD833CEDA8B5BD6D140DB64428@OPISDWH SHAN_HANSECONTROL

.. but with same results. Its ok and working in GUI but nothing happens in service.


At the moment we use the following command to start this batches:
H:\EDV_Specials\Systeme\PsExec\psexec \\server -u username -p password "...\Path\mybatch.bat
I dont know whether you know this psexec but it works, and the batch and the ETL Process starts.

But we want to give up our old Batch/PSexec/Scripting Handling and want to use the 24x7 ...


Best Regards
Dominik
Fri Oct 11, 2013 8:31 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7833

Post Reply with quote
Hello. the issue is not with a batch of external exe but with something else. Is H s mapped network drive? Are you aware that services and applications launched from services don't have access to mapped drives? You you remap them fro ma service or better use UNC file names to avoid file mapping all together, e.g.

\\server-A\volum-B\file-C.exe ...
Fri Oct 11, 2013 10:31 am View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.