Time Schedules "First of the Month"

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
schorno
Posts: 1
Joined: Thu Feb 01, 2007 8:32 am

Time Schedules "First of the Month"

Post by schorno »

I need some help about the time schedules. A test checks if a file from yesterday exist.

This is my filename with the macro variables:
Test_%dd[-1d]%_%mm%_%yyyy%.wmv

Now I had the problem, that on the first of the month the test checks only the day before and not the month before. And so the test couldn't find the File.
Do anybody know a good way to check this with variables or to set a time schedule that the test don't work on the first of the month?
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Re: Time Schedules "First of the Month"

Post by KS-Soft Europe »

schorno wrote:This is my filename with the macro variables:
Test_%dd[-1d]%_%mm%_%yyyy%.wmv
This expression will not work properly. Try to use expression like this: Test_%yyyy_mm_dd[-1d]%.wmv
It should work correctly in your case. Could you change the filename according to this expression?

Regards,
Max
Post Reply