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


Axel F
2016-09-06T14:21:39Z
Here we go again....

Emailtasks won`t work anymore.

Description :
2 Jobs depending in 1 Group

First Job downloading pdf Files from ftp server including 3 Tasks
Task 1 create local folder with date {DATEFORMAT(ddMMyyyy)}
Task 2 Download Files in created local folder of Task 1 (on complete send Notification)
Task 3 Copy Files from created local folder into another for further processing.

So far so good...works without Problems

Second Job should send me an email with a log file created from a third party Software in a new folder every day. (its an pdf or an txt )

1 File Trigger

file Mask : *Stat*.pdf
File/Folder watch type : Changed (it was "created" before but wont work with any of them )
Notify Filters : Last write
Trigger when File has been released
Credential is set
Ignore Server off

Next is a email Task in this job
Attachement
Folder : {TRIGGER(Active|LastTrigger|File.Result.Folder)}
Include File Mask : {TRIGGER(Active|LastTrigger|File.Result.Name)}

When i went to test this (show filtered files

Error : Illegal Sign in Path

If i run this Job i receive an email without attachement.

All works fine until a few weeks. Only Problems now. Maybe it`s me causing this 😕
Sponsor
Forum information
Support
2016-09-06T18:02:57Z
You cannot test the Email Task as you are using Trigger Variables which are context sensitive. What error do you get when you manually drop a file? And in which Task?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Axel F
2016-09-07T06:28:53Z
Good Morning Henrik,

here are the results dropping a file manually with this trigger .

on created nothing happens.
on changed email with attachement works. But its not stable. it works a few Days and then im back here with my Problem.

Don`t know what the problem could be.

I have several Jobs i need to run with this trigger.

May be there is another way to get this done ?





Support
2016-09-09T08:34:33Z
Originally Posted by: Axel F 

Good Morning Henrik,

here are the results dropping a file manually with this trigger .

on created nothing happens.
on changed email with attachement works. But its not stable. it works a few Days and then im back here with my Problem.

Don`t know what the problem could be.

I have several Jobs i need to run with this trigger.

May be there is another way to get this done ?

When testing dropping it is important that you Copy and not Cut/paste. If it does not work you you start of with one Job with one Trigger and default file mask and try drop there - does that work?






Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Axel F
2016-10-27T06:15:46Z
Sorry for the late reply. So much work so little time but the Problem still exists.
I`m working manually at the Moment .

I think i need to tell you in detail what this job does.

We use Planet Press. A Software Solution for Mailings.
Planet Press generates Log Informations when it has finished its jobs.
So copying is the wrong term it writes *.pdf or *.log Files in defined Folders .
From here Visualcron gets to work.

If File is written Visualcron has to send it to several Email Recipients.

regards


Support
2016-11-01T08:47:43Z
First you need to ensure that the Trigger works. That it launches the Job. I suggest creating a new Job with a Trigger and write the file names to file using the File write Task.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Axel F
2016-11-22T11:38:46Z
Hello again,

we`re getting closer to the final results because It seems to be a simple copy and paste Problem.

Copy and paste, file trigger works. Cut and paste, file trigger won`t work.

Our Software writes Statistics into Folders and from my opinion VC handles them as "cut and paste".

Tricky Bug or a feature ?

regards
Support
2016-11-22T13:00:36Z
Originally Posted by: Axel F 

Hello again,

we`re getting closer to the final results because It seems to be a simple copy and paste Problem.

Copy and paste, file trigger works. Cut and paste, file trigger won`t work.

Our Software writes Statistics into Folders and from my opinion VC handles them as "cut and paste".

Tricky Bug or a feature ?

regards



Feature, we depend on the Windows file system watcher. And it depends on how your application work. If it performs a "Move" or not. If I perform a normal Cut and Paste Created+File name works. Maybe you need to use Changed+File name option.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Axel F
2016-11-22T13:53:03Z
Filename can vary. Im only able to filter for some keywords.


Support
2016-11-22T13:59:32Z
I am not talking about file names per se but the options you should use in the File Trigger.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Axel F
2016-11-22T14:05:50Z
Tested. Won`t work in different varies.

Workaround is to copy the files with an copy task and time trigger in another Folder.

Not nice, but a solution.

Edit : i´ve moved VC on another server to make sure its not a windows problem etc.
Works now on a Windows Server 2012 R2. But Problem still exists.
Support
2016-11-22T14:21:15Z
Install this: http://www.codeproject.c...tcher-Pure-Chaos-Part-of 

Then start it and watch as your application places files. You will see what changes are being applied to the system.

The other alternative would be to check "Use polling" in the Trigger settings. It does not react as fast as normal but it should trigger for new files.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top