Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


RA
  •  RA
  • No customer Topic Starter
2009-06-17T13:42:24Z
Recently we have installed Visualcron on two servers, Development and Production.
Tested VisualCron on Development, worked fine... exported the settings to Production made the necessary adjustments and ran into a problem.

A job starts Runnings and stops displaying Success within a couple of seconds without doing anything.

When we run the commandline from the command-prompt (with the same credentials) it does work on the Production server.
So it's not the commandline.

When we remove the credentials the job also says succeeded without doing anything.
Doing the same thing on the Development server results in an error, which is what we expected.

As far as we can tell it's not the credentials causing the problem.

Any idea what is causing this problem?
Sponsor
Forum information
Support
2009-06-17T13:59:01Z
What does the Output and Error output columns say? If you don't see the error column you can just add it in List->Set columns.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
RA
  •  RA
  • No customer Topic Starter
2009-06-17T14:03:27Z
Both display "No output".
Support
2009-06-17T14:07:43Z
Do you have any own logging in your program. It is very hard to say what fails. Normally Credentials are wrong or some environment variables are missing.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
RA
  •  RA
  • No customer Topic Starter
2009-06-17T14:36:24Z
The program has it's own log, but the program never starts so no logging is done.
VisualCron is unable to start the executable.
Support
2009-06-17T14:45:58Z
It seems like the program is dependant on some other application? Can you run the Task in Foreground mode?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
RA
  •  RA
  • No customer Topic Starter
2009-06-17T15:30:08Z
Just tried running it in Foreground mode, following error shows in the log "User could not be logged in when performing desktop unlock".

Job however says it is still running, but could not see any activity in Taskmanager.
Support
2009-06-17T15:33:03Z
Maybe you have several sessions active on the Server? If it says running it must be in the Task manager. Try showing all processes for all users.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
RA
  •  RA
  • No customer Topic Starter
2009-06-17T17:12:15Z
The taskmanager is now showing the proces, but CPU usage remains 0.
Normally the task should finish within 5 minutes, now it's been running for over an hour.

So it does start the process but there's no activity afterwards.
Support
2009-06-17T17:17:15Z
Ok, then your application is started - shouldn't there be a log then?

RA wrote:

The taskmanager is now showing the proces, but CPU usage remains 0.
Normally the task should finish within 5 minutes, now it's been running for over an hour.

So it does start the process but there's no activity afterwards.



Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
RA
  •  RA
  • No customer Topic Starter
2009-06-18T11:37:36Z
There should be a log, but unfortunately there isn't.

Any idea what else we could check?



Support
2009-06-18T11:42:27Z
If you run it in foreground mode it should not be hidden unless you have explicitly set so. Maybe then you can get more information from that window.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
RA
  •  RA
  • No customer Topic Starter
2009-06-18T11:47:19Z
Running it in Foreground with nothing hidden, but no screen appears.
RA
  •  RA
  • No customer Topic Starter
2009-06-18T14:27:23Z
Finally managed to run it in foreground mode, and the error message in the window that appeared helped a lot.

The program had it's directory settings stored as "Y:\data" which resulted in the error. Changing the directory settings to "\\server\data" solved it.

The "Y:\data" can be found using our useraccount and a commandline prompt, but not when you use VisualCron with the users credentials. Then only the "\\server\data" works.

Checked the Development server and it already had the direcories set to \\server\data.
So that explains why VisualCron worked fine there.

Thank you so much for your suggestions!

It always turns out to be a simple thing once you know where to look :-)




Support
2009-06-19T00:52:52Z
That's great! Thanks for the feedback!
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top