Write script start to log file
This commit is contained in:
		
							parent
							
								
									11b5c4f5c9
								
							
						
					
					
						commit
						d38ec9c9dd
					
				| @ -92,3 +92,7 @@ if [ $EUID != 0 ]; then | ||||
| fi | ||||
| 
 | ||||
| 
 | ||||
| ## Write script execution start in log file | ||||
| echo -e "\e[1;32m[`date +%Y-%m-%d` `date +%H:%M:%S`]" \ | ||||
|     "--Begin backup operations--\e[0m" >> $logFile | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user