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.
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:
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
Edited by moderator
2016-01-20T07:32:47Z
|
Reason: Not specified