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


thomas
2016-01-18T15:16:06Z
Hi

In archive tasks, we have a job that archives files older than x number of days. This job stopped working in november, i only noticed today unfortunately..
We use a variable to determine the number of days it should look back.

Capture.PNG

The variable 'CleanupOlderThanDays' is 30 in this example, and the '-' sign infront is to subtract.
This formula: {DATENOWADD(Days|-{JOB(Active,Variable,CleanupOlderThanDays)}|dd.MM.yyyy)}
is equal to: {DATENOWADD(Days|-30|dd.MM.yyyy)}

As you can see it calculates the date correctly on top (19.12.205), but fails to save, as I get a popup box as in the picture.

We haven't noticed this job failing because it has been reported as a success, but in the log we found this entry:

ServerLog.PNG

So it fails at runtime, but does not throw an error, it only logs it as an error.

This is an error we have had before, many versions ago, and now it's back!

Thomas
Sponsor
Forum information
Support
2016-01-18T22:26:18Z
I could not reproduce this with your settings. Are you sure you are using 8.0.1 on both Client and Server?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
thomas
2016-01-19T10:01:08Z
Ah shit. We have 8.0.1 , but it is a beta version. I changed to the final release version and it worked now. Sorry about that.
Users browsing this topic
Scroll to Top