Community forum

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


rgepfert
2009-05-29T16:47:07Z
I set up this job to have a File Trigger on my ftp folder. Then the 1st task was to copy the file from the ftp to the server I am on. When I copy the file to the ftp, the trigger does not fire. But, when I just run the job the copy works and it is using the same Credentials and file path as the trigger. When I take the Polling off of the Trigger, I get the “unexpected network error occurred”. But when I put it back on and run the job it will copy, but the trigger will not fire. I also have a task to send the filename from the trigger in the email and it doesn’t show the filename in the email.

By the way, is it possible to just export one job or do you have to export all jobs in VC?

Sponsor
Forum information
Support
2009-06-01T10:48:13Z
It is possible to export a single Job - in version 5.

1. What kind of network is it? Normal Windows or Samba?
2. Is the Credential OK - can you use it in other Task to Touch a file on that network path?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
rgepfert
2009-06-01T16:50:52Z
The ftp is Samba, but when I change to Polling, I get nothing.

When I execute the job manually the credentials work to copy the file down to the server. So, I know the credentials work.
Support
2009-06-01T16:56:43Z
So you are only getting the error when not using polling?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
rgepfert
2009-06-01T17:10:46Z
Correct, when I have polling on and copy a file to that folder, nothing happens. But when I take Polling off, then it waits for about a minute then I get the error "A trigger was inactivated due to an error: An unexpected network error occurred The trigger was connected to job: <Job Name>.

Then when I execute the job manually the file is copied down to the application server and I get the email. I have the name of the triggered file in the email and the filename is still the VC variable name. I made sure I had the same credentials on the trigger as I do on the Copy Files.

Normally I would email my Infrastructure team about a possible permissions issue, but since the copy worked I initially didn't think that.

Robert
Support
2009-06-01T17:18:43Z
The error is normal as that the Polling option is the only option that works with Samba files.

If you don't have any other errors in the log file I suspect that you just have to wait a bit longer. The polling option polls on the interval which is default one minute. So changes may be slower to be Triggered.

Another error could be that you want to watch a sub folder but have not checked sub folders.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
rgepfert
2009-06-01T17:31:33Z
That was it. Thanks for the help.
Scroll to Top