> I need to do a Perl script who do a certain command after 2 days.Example: > my file contains > > 8 Jul 2002 > > when I lunch the script it must control the date and if it's equal to > date+2 (in this case 10 Jul 2002) execute my commands trought system.I > thought to do this transforming the date in this format to days from the > begin of the year but I don't know how.Thanks for your help, > Francesco
Why do you need to do things this way? There is a perfectly good deamon in *nix called crond that would help you to schedule tasks at certain times. I think the list would like to know more exactly what you want to achieve in order to help you better... Thanks! //Anders// -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]