Community forum

Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
View
Go to last post Go to first unread
Offline jbedard  
#1 Posted : Tuesday, November 5, 2019 5:24:10 PM(UTC)
jbedard

Rank: Paid support

Joined: 8/1/2019(UTC)
Posts: 4

Thanks: 1 times
I'd like to set a job variable to a date and use that job variable as a date in the delete files task to delete files older than a specified date. I've tried a few different ways and it keeps failing. Is this possible? Using version 8.5.5.
Offline Support  
#2 Posted : Wednesday, November 6, 2019 9:27:52 AM(UTC)
Support

Rank: Official support

Joined: 12/1/2015(UTC)
Posts: 217

Thanks: 24 times
Was thanked: 12 time(s) in 11 post(s)
Originally Posted by: jbedard Go to Quoted Post
I'd like to set a job variable to a date and use that job variable as a date in the delete files task to delete files older than a specified date. I've tried a few different ways and it keeps failing. Is this possible? Using version 8.5.5.


You should be able to use the date right away or a user variable, however;
We've done some fixes/improvements to exactly that in 9.0.0, so the Date field will show you if you're using the correct format or not (plus it fixes user variable)

I suggest you download our 9.0.0 beta and try it in a test environment and see if you get it working there. It won't be very long now until we release the live version of 9.0.0.

We estimate releasing it in about 1-2 weeks if everything goes as planned.

You can find the beta here. Remember it's not backward-compatible , so if you install it on your current server, make sure to take a backup folder of your current installation folder / take backup of all your settings

https://www.visualcron.c....aspx?g=posts&t=9663
Michael
Support
http://www.visualcron.com

Please like VisualCron on facebook!
thanks 1 user thanked Support for this useful post.
jbedard on 11/6/2019(UTC)
Offline jbedard  
#3 Posted : Wednesday, November 6, 2019 3:04:50 PM(UTC)
jbedard

Rank: Paid support

Joined: 8/1/2019(UTC)
Posts: 4

Thanks: 1 times
In the delete date field I can use a date value: 10-30-2019 or a date variable: {DATENOWADD(Days,-7,yyyy-MM-dd)}
But when I set a job/user variable {USERVAR(file_date_test)} to a date value and use that variable in the date field, VC crashes.
If this is fixed in 9.0.0, then I think I can wait. Just wondering if this is supposed to be working in 8.5.5, then am I doing something wrong?
Offline Support  
#4 Posted : Thursday, November 7, 2019 12:08:53 PM(UTC)
Support

Rank: Official support

Joined: 12/1/2015(UTC)
Posts: 217

Thanks: 24 times
Was thanked: 12 time(s) in 11 post(s)
Originally Posted by: jbedard Go to Quoted Post
In the delete date field I can use a date value: 10-30-2019 or a date variable: {DATENOWADD(Days,-7,yyyy-MM-dd)}
But when I set a job/user variable {USERVAR(file_date_test)} to a date value and use that variable in the date field, VC crashes.
If this is fixed in 9.0.0, then I think I can wait. Just wondering if this is supposed to be working in 8.5.5, then am I doing something wrong?


This is something that *should* be fixed in 9.0.0 yes, we would appreciate it if it was possible that you tried it yourself on 9.0.0 to see if it indeed is fixed for you the way you want it or not
Michael
Support
http://www.visualcron.com

Please like VisualCron on facebook!
Users browsing this topic
Guest (2)
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Scroll to Top