Hi! Ok, I need to run some methods periodically, so the best its to use Schedule::Cron, Im creating a Schedule::Cron with this:
my $cronometro = new Schedule::Cron(\&dispatcher); #Every 5 minutes $cronometro->add_entry("0-59/5 * * * *", \&action); $cronometro->run(detach=>1); $cronometro->run; But in sometime I will need to clean the timetable, so Im trying with this: my $cronometro = new Schedule::Cron(\&dispatcher); $cronometro->clean_timetable(); But nothing happens, it continues running every 5 minutes, suggestions? I also tried with very simple simple examples, (open a file and print something in it, and close it)... and re-running the script but just with this: my $cronometro = new Schedule::Cron(\&dispatcher); $cronometro->clean_timetable(); And the same, it continuse running.. Thanks! Pablo -- Pablo Fischer Sandoval ([EMAIL PROTECTED]) http://www.pablo.com.mx http://www.debianmexico.org GPG FingerTip: 3D49 4CB8 8951 F2CA 8131 AF7C D1B9 1FB9 6B11 810C Firma URL: http://www.pablo.com.mx/firmagpg.txt -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]