Hi, ZHAO, If your system is Unix or similar, you can use cron (See cron). If Windows, you can use task manager
José Pinto -----Original Message----- From: ZHAO, BING [mailto:[EMAIL PROTECTED] Sent: domingo, 23 de Outubro de 2005 7:28 Cc: beginners@perl.org Subject: delete file after on week Hi: I need to delete files older than one week old, I know how to code that(with the help of many kind people on this list): But it only happens when I run the program, there is a chance I will not be running the program for more than a week. And the dir keeps getting larger(downloading files from website), I need those files older than 1 week all gone WITHOUT having to type ./do_it.pl on unix command line. Any idea on this? It seems pretty unreasonle to me, even. Let me know if this is something impossible. thank you. bing -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>