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


crwill
2013-11-21T16:18:01Z
I am trying to move some folders based on their create date. These folders are only created on weekdays and I only want to move the ones that are 2 days old or older. If I use the {DATENOWADD(Days|-2|M/d/yyyy h:mm tt)} this will move anything older than two days but since I don't have folders on the weekend,come Monday morning it will move all folders. Is there a way to use the above variable with {DATE(LastWorkday|M/d/yyyy h:mm tt)} or to subtract a day from this varaible?
Sponsor
Forum information
Support
2013-11-22T08:19:24Z
This should probably work:

{DATEADD(Days|{DATE(LastWorkday|yyyy-MM-dd)}|yyyy-MM-dd|-1|M/d/yyyy h:mm tt)}
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
crwill
2013-11-22T13:41:17Z
That worked great. Thanks. Can VisualCron move complete folders?
crwill
2013-11-22T14:20:19Z
Nevermind last post I got it to work.
Scroll to Top