I'm a real beginner. I made a little program to copy files to an other folder (see below)
# Remote resetten van ColdFusion server $interval=5; while (l) { sleep ($interval - time() % $interval ); if (-r 'c:\reset\spool\cfreset.bat') { print ("Bestand cfreset.bat gevonden\n"); system('c:\reset\spool\cfreset.bat'); unlink('c:\reset\spool\cfreset.bat'); # ($Second, $Minute, $Hour, $DayOfMonth, $Month, Year, # $Weekday, $DayOfYear, $IsDST) = localtime(time); # $RealMonth = $Month + 1; # Print "$RealMonth/$DayOfMonth/$Year"; } } I'm trying to see after each copy action the time........... Maybe to easy for you but i can't get the right code. Thanx!