# バックアップ $backup_hour = 1; # バックアップする時刻 if($backup_hour eq $hour){ # ←この行を修正 if(-e "$backdata$backup_flag1"){