SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
deleting old files

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
deleting old files
Author Message
Sergio Joseph



Joined: 01 Mar 2001
Posts: 4

Post deleting old files Reply with quote

Greetings all... How can I set up 24x7 to delete files after they have been around for 24 hours?
Any hints, help, will be greatly appreciated...

Wed Feb 28, 2001 4:27 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: deleting old files Reply with quote

You need to build a JAL script that searches files and then loops through found file names and for every found file, gets file date and if it is older than system time less 24 hours, delets the file

Here is the template
Dir ..., list
IsEqual list, "", done
LoopUntil done, ...

GetToken ",", list, file

FileGetTime ...

IsMore ..., new_file

IfThen new_file, CHECK_NEXT

FileDelete file

CHECK_NEXT:
END_LOOP:

: Greetings all... How can I set up 24x7 to delete files after they have been
: around for 24 hours?
: Any hints, help, will be greatly appreciated...

Thu Mar 01, 2001 10:35 am View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.