#!/bin/bash
logPath=/var/log/sumpkgup.log; date |tee -a ${logPath}

apt update -y|tee -a ${logPath}
apt upgrade -y|tee -a ${logPath}
