SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 CmdExec - Jobs
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

andriancruz
Starting Member

Philippines
38 Posts

Posted - 05/31/2010 :  04:08:05  Show Profile  Send andriancruz a Yahoo! Message  Reply with Quote
Hi Everyone,

I'm using CmdExec to call VB Application to extract records. The application is running fine when I execute. But when I put the .exe into Jobs and when I start the Jobs, the status is always executing. Anyone please help why the atatus is always Executing. Is this means the application is running continously? Any suggestion or explantion will high appriciated. Thanks in Advance.


Regards,

Andi

webfred
Flowing Fount of Yak Knowledge

Germany
8765 Posts

Posted - 05/31/2010 :  04:51:19  Show Profile  Visit webfred's Homepage  Reply with Quote
Make sure that your application has no user dialog.
If agent starts the app and a dialog is coming up then nobody can see this dialog and the app is waiting for input ...


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page

andriancruz
Starting Member

Philippines
38 Posts

Posted - 05/31/2010 :  05:09:05  Show Profile  Send andriancruz a Yahoo! Message  Reply with Quote
Hi webfred,

Thank you for reply. Perhaps, the reason why the status is always Executing its because is waiting to input the parameters. Thanks again and more power to you.
Go to Top of Page

andriancruz
Starting Member

Philippines
38 Posts

Posted - 05/31/2010 :  05:13:00  Show Profile  Send andriancruz a Yahoo! Message  Reply with Quote
One more question webfred if you dont mind. But when this executable files when I put in Windows scheduler is working fine the schecduler execute fine without asking any input from the user. But when I'm using CmdExec thru Jobs its not working. Any reason why? Thanks

Regards,
Andi
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000