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


faulk
  •  faulk
  • No customer Topic Starter
2010-07-21T14:58:49Z
Hello,

I made a copy task, but i notice that if the source file doesn't exist, there is no error, and task is success.

So, if a file doesn't exist, how to stop the job, mark it as error and send a notification error ?

regards,
Clément
Sponsor
Forum information
Support
2010-07-21T22:36:18Z
You could use a File Condition to check if the file exists.


We could also add a way to throw an exception if no file was copied at all.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
faulk
  •  faulk
  • No customer Topic Starter
2010-07-22T11:11:14Z
Yes but it try a file condition, but if the job could be stop, the result still be a success, don't it?
Support
2010-07-22T11:20:37Z
Try this attached version. It should throw an error if no files were copied.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
faulk
  •  faulk
  • No customer Topic Starter
2010-07-22T15:25:23Z
Thanks,

How i update my server visualcron? i'll try to install your version, but it stopped because of the old version(even if i stopped the service).

Should i uninstall VisualCron 5.6.2?
Support
2010-07-22T15:26:24Z
It should overwrite 5.6.2 but try uninstalling the current first.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
faulk
  •  faulk
  • No customer Topic Starter
2010-07-22T15:56:26Z
It works!

Thanks a lot, it's very useful :)
😁
faulk
  •  faulk
  • No customer Topic Starter
2010-08-03T12:01:47Z
Hello, i have an issue with that beta. Sometimes, it give me an error "Exception in Task: No files copied", but in fact there is no error and the copy sucess.

i don't know why.

Support
2010-08-03T12:04:30Z
It sounds unlikely as we count number of files copied but can you reproduce this in any way and tell what settings you used when this failed (or what is different).
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
faulk
  •  faulk
  • No customer Topic Starter
2010-08-03T12:34:15Z
This is not easy to reproduce. I have many jobs which are quite the same, i cloned them and the only change i made is the mask file. But this error appears not every time. I'll try to investigate a little bit more.

For information here is the job who caused the last error

Regards,
File Attachment(s):
Jobs.xml.txt (13kb) downloaded 58 time(s).
faulk
  •  faulk
  • No customer Topic Starter
2010-08-04T09:38:35Z
The issue is recurrent finnaly, it happens every time on some jobs, like the job i attached in my last post.

I don't know what more information i could give you
Support
2010-08-04T15:39:17Z
Are you sure the file is copied and not exist before running? If you delete files (moving) it is very likely that you will get this error if you run the Job often.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
faulk
  •  faulk
  • No customer Topic Starter
2010-08-04T16:19:56Z
i'm sure that this file not exist before running (my trigger is based on creation of the file). And i'm sure that the file is copied.

I run the job 3 or 4 times a day. When a user put this specific file in a directory, the job start running. The first task upload the file by ftp, the second task just copy the file in a directory (in an other server and with option "delete after copy"). the two task succeed, but Visualcron do an error "no files copied" (and send me a fake notification).

This is very strange, because it's a very basic job, but i have this bug (i have other job with copy task that works well).

regards
Support
2010-08-04T17:42:26Z
Could you insert a screenshot of the Task that always fail? The copy file settings.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
faulk
  •  faulk
  • No customer Topic Starter
2010-08-04T18:28:22Z
here are the screenshots
faulk attached the following image(s):
faulk
  •  faulk
  • No customer Topic Starter
2010-08-10T09:13:05Z
Support
2010-08-10T09:14:49Z
There are a lot of things that could go wrong (which results in that no files are copied). Like the long folder with Variables and that you do not use the actual Trigger result Variables.

If you used those from the Trigger there is less risk that this happens.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
ErikC
2010-08-10T09:15:26Z
[off topic]Funny to see some other language in the GUI, but I see two languages.. Some items are not translated well[/off topic]

Regards,
Erik
Uses Visualcron since 2006.
Support
2010-08-10T09:17:51Z
ErikC wrote:

[off topic]Funny to see some other language in the GUI, but I see two languages.. Some items are not translated well[/off topic]

Regards,
Erik



I know. We need to take a grip on that as we have not ordered translation in a while. With new features all the time it becomes harder - but we will work on this soon.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
faulk
  •  faulk
  • No customer Topic Starter
2010-08-10T10:31:03Z
Support wrote:

There are a lot of things that could go wrong (which results in that no files are copied). Like the long folder with Variables and that you do not use the actual Trigger result Variables.

If you used those from the Trigger there is less risk that this happens.



I did not see that trigger Variable. It could help me.
Thanks
Support
2010-08-10T10:38:40Z
Lookup these Variables under result (only available for reading at runtime).
Support attached the following image(s):

Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
faulk
  •  faulk
  • No customer Topic Starter
2010-08-11T10:11:42Z
Ok i tried this way but with no more result.
😕


faulk
  •  faulk
  • No customer Topic Starter
2010-08-12T10:02:28Z
This version seems to be not stable at all.

Today, I run an other job who cause an issue with a task copy file. All the job was completed successfully (and i see success result on vcron), but i received a notification error on the copy file task.

The variable : {TASK(Active,StdErr)} of the notification indicates "no filed copied". This is is quite the same problem but more wired , because visualcron indicates a success on this task.

faulk attached the following image(s):
Support
2010-08-12T10:48:48Z
We added a new Error which is raised when no files are copied. You can deselect this error on the "On error" tab.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
faulk
  •  faulk
  • No customer Topic Starter
2010-08-12T12:32:21Z
I know, but it doesn't solved the problem... My english is not enough good to express myself correctly 😞

I need to generate an error if no file is copied (so i do not want to deselect it on error tab) but for now it's generate error even if file is correctly copied.

Vcron generate an error (in notification and in task result) but in the same time vcron continue the job (however in error tab i selected option stop the job), and job result is success. File are copied, job result is success, but copy task result is error.

I think i will leave this version because it's to much disturbing if you can find a solution.

Scroll to Top