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


cpaluffi
2009-06-26T14:43:41Z
Hi,
I installed VisualCron 5.1.6 on Windows Server 2008 because we would like to replace our very old scheduler.
I create a Job with two tasks: the first task have to copy a file from local disk to a network share, the second have to ping a server.
I run the job manually and scheduled, I received the Succeded message status, I checked the job log and I found an error for the first task with the stderr message "Exception in Task: Access to the path 'Y:\AnagFrie.txt' is denied.".
I verified the network share permissions and the user that run the task could not write on it, but VisualCron task didn't fail.
I attached a screenshot about the job status and job log.
Please let me know asap.
Thank you and Best Regards,
Cristiano.
cpaluffi attached the following image(s):
Sponsor
Forum information
cpaluffi
2009-06-26T15:20:24Z
Hi to all,
I resolved installing the VisulCron version 5.1.9.

Thank you.
Cristiano
Support
2009-06-26T16:08:27Z
You should use UNC paths instead like \\servername\folder together with a Credential (if you are not running the service as a domain user).
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
cpaluffi
2009-06-26T16:11:48Z
Hi,
I did more tests with 5.1.9 version and I found these problems:

a) the Copy File task doesn't stop when there is a permission denied error like this:
Exception in Task: Access to the path 'K:\old\AnagFrie.txt' is denied.
D:\Applicazioni\CARD_FRIENDLY\AnagFrie.txt -> K:\old\AnagFrie.txt FAILED: Access to the path 'K:\old\AnagFrie.txt' is denied.


b)the Copy File task stop when I selected only the mapped letter of network share instead of the letter and the directory, the error message is:
Exception in Task: String cannot be of zero length.
Parameter name: oldValue


Thank you in advance for your replies.

Cristiano

cpaluffi
2009-06-26T16:23:20Z
Support wrote:

You should use UNC paths instead like \\servername\folder together with a Credential (if you are not running the service as a domain user).



Thank you for your reply.
I changed the destination folder with \\servername\folder, but if the user has not write permission on the folder the task doesn't stop with error; I can see only the message Exception in Task: Access to the path '\\10.2.10.45\FriendlyCard\AnagFrie.txt' is denied.
D:\Applicazioni\CARD_FRIENDLY\AnagFrie.txt -> \\10.2.10.45\FriendlyCard\AnagFrie.txt FAILED: Access to the path '\\10.2.10.45\FriendlyCard\AnagFrie.txt' is denied.

on stderr output.
Is it right?
Thank you.
Cristiano
Support
2009-06-26T16:49:44Z
The service does not have network access by default as it is running as SYSTEM. That is why you need to create and select a Credential that can access that remote server.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
cpaluffi
2009-06-26T17:18:09Z
Support wrote:

The service does not have network access by default as it is running as SYSTEM. That is why you need to create and select a Credential that can access that remote server.



Thanks.
I created a credential in VisualCron using a Domain Admins User, I can set the right permission on the share but I am testing VisualCron and I would like understand why it doesn't stop with error status the task if stderr output report:
Exception in Task: Access to the path '\\10.2.10.45\FriendlyCard\AnagFrie.txt' is denied.
D:\Applicazioni\CARD_FRIENDLY\AnagFrie.txt -> \\10.2.10.45\FriendlyCard\AnagFrie.txt FAILED: Access to the path '\\10.2.10.45\FriendlyCard\AnagFrie.txt' is denied.

It is important for us to receive an error if the task reports permission denied errors.

Thanks you.

Support
2009-06-27T00:09:16Z
I am not sure what you mean by "why it does not stop with error status"?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
cpaluffi
2009-06-29T08:57:16Z
Support wrote:

I am not sure what you mean by "why it does not stop with error status"?


Goodmorning,
if you look my picture attached, you can see that the task "Copia Anagrafrie...." run successfully with an OK resultimage but output (stderr) report an access denied error.
Is it possible that the task understand the stderr message and set a critical resultimage?
I hope to explain better my problem, excuse me for my English.
Best Regards,
Support
2009-06-29T10:05:34Z
You are correct, we will investigate this why it does not return an error on the Job.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
cpaluffi
2009-06-29T10:21:50Z
Support wrote:

You are correct, we will investigate this why it does not return an error on the Job.



Thank you very much.
Best regards,
Cristiano
Support
2009-06-29T10:35:00Z
This issue has now been fixed for next version. Thank you for reporting.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
cpaluffi
2009-06-29T11:35:20Z
Support wrote:

This issue has now been fixed for next version. Thank you for reporting.


Hi,
is it possible to have the patch because we would like to test VisualCron also in our production environment before to buy it?
Thank you.
Best Regards,
Cristiano
Support
2009-06-29T12:04:06Z
Yes, we will probably release it later tonight.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
cpaluffi
2009-06-29T12:06:32Z
Support wrote:

Yes, we will probably release it later tonight.



Great!! thank you very much again for your availability and support.
Best Regards,
Cristiano
Support
2009-06-30T00:10:34Z
Hi,

we need one more day for further testing of some other new Tasks that will be released in same version. We will post new version Tuesday evening. Hope that is OK.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
cpaluffi
2009-06-30T09:08:02Z
Support wrote:

Hi,

we need one more day for further testing of some other new Tasks that will be released in same version. We will post new version Tuesday evening. Hope that is OK.



Thank you for your job, no problem. Take your time.
Best Regards,
Cristiano
Support
2009-06-30T21:32:25Z
Please test 5.2.0. in beta forum.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
cpaluffi
2009-07-01T09:29:34Z
Support wrote:

Please test 5.2.0. in beta forum.


Thank you, i will reply you with results as soon as possible.
Best Regards,
Cristiano
cpaluffi
2009-07-01T17:24:37Z
cpaluffi wrote:

Support wrote:

Please test 5.2.0. in beta forum.


Thank you, i will reply you with results as soon as possible.
Best Regards,
Cristiano



Hi,
I tested the new version 5.2.0 but it doesn't mark the failed copy files task as critical and it doesn't print any output on stderr.
I attached some image to explain better.
Thank you.
Cristiano
cpaluffi attached the following image(s):
cpaluffi
2009-07-02T08:55:10Z
Hi Henrik,
my past post referred to the check if the source file did not exist, but I tested today also the permission denied event I am confirming that now VisualCron report an error with that event.
If I understood I have to use the conditions option on the task to verify if the source file exists before to copy the file, is it true?
Thanks.
Cristiano
Support
2009-07-02T18:23:34Z
You don't have to use a Condition because no error will currently be generated if file is not found.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
cpaluffi
2009-07-03T15:12:22Z
Support wrote:

You don't have to use a Condition because no error will currently be generated if file is not found.


Yes, it is true.
I used a workaround: I created a condition that checks if file exists, if it doesn't exist the condition runs another job where there is an email task with error message.
Do you think that i will be possible to generate an error if the file is not found in a next VisualCron release?
Thank you.
Cristiano
Support
2009-07-03T15:34:22Z
Not by default - but we could add it in the On error tab for next version. That "finding no files" should be handled as an error.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
cpaluffi
2009-07-03T16:42:26Z
Support wrote:

Not by default - but we could add it in the On error tab for next version. That "finding no files" should be handled as an error.


Ok, thank you.
do I have to open a topic in feature requests or do you think it about?

Scroll to Top