i've a modified version of the backup_check.txt script written by JohnWPB.
One part of it I cannot debug to see why it's not working...
The folder containing my backup files is c:\homeseer backup and the backup files in there are of the format -02-12-2006.zip (i.e. using the date in format dd-mm-yyyy).
The script returns the message backup failed as it doesn't find the file created.
This the bit that constructs the file name to check...
sub ConstructFileName()
'Contructs the file name to be checked
ThisDay = day(now)
ThisMonth = month(now)
ThisYear = year(now)
FullPath = dest_root
FullPath = FullPath & "-" & ThisDay & "-" & ThisMonth & "-" & ThisYear & ".zip"
end sub
The rest of the script I believe is the same as the original posted. Can anyone tell me what I've done wrong?
Malcolm
One part of it I cannot debug to see why it's not working...
The folder containing my backup files is c:\homeseer backup and the backup files in there are of the format -02-12-2006.zip (i.e. using the date in format dd-mm-yyyy).
The script returns the message backup failed as it doesn't find the file created.
This the bit that constructs the file name to check...
sub ConstructFileName()
'Contructs the file name to be checked
ThisDay = day(now)
ThisMonth = month(now)
ThisYear = year(now)
FullPath = dest_root
FullPath = FullPath & "-" & ThisDay & "-" & ThisMonth & "-" & ThisYear & ".zip"
end sub
The rest of the script I believe is the same as the original posted. Can anyone tell me what I've done wrong?
Malcolm
Comment