Not difficult, but a whole bunch of hoops to jump through. Every app will now have to have a db table, scheduled task, code to launch the task, delete the file, delete the table record, etc. What a pain... I wonder if this is going to change for Windows 7...
On Mon, May 18, 2009 at 2:39 PM, Andrew Grosset <[email protected]> wrote: > > I have a table that I enter the filename into and then the scheduled task > queries the table. Once the file is Not 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:322622 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

