I have a table that I enter the filename into and then the scheduled task queries the table. Once the file is successfully deleted I then delete it from the table.
Andrew >Andrew...how do you set scheduled tasks using variables for the files? >In other words, how do you pass the file variable to the scheduled task? > >I've used scheduled tasks a lot, but never in conjunction with live code. > > > >> >> I think windows still has a hold on it somehow, I found passing it to a >> scheduled event to delete it (using cffile) 5 mins from now() usually does >> the trick. If that doesnt work increase the time to say 30 mins. >> >> Andrew >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322621 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

