added aec_cron.sh
This commit is contained in:
parent
b7f751e05f
commit
7989804f6c
|
@ -0,0 +1,25 @@
|
|||
## ars electronica maintainence cron job script
|
||||
|
||||
## vars
|
||||
logfile="/var/log/aec_cron.log"
|
||||
hostname=$(hostname)
|
||||
|
||||
|
||||
## print timestamp
|
||||
timestamp=$(date +"%d.%m.%Y %R")
|
||||
echo >> $logfile
|
||||
echo "##### aec cron script ## $timestamp ## $hostname #####" >> $logfile
|
||||
|
||||
|
||||
## local package updates
|
||||
echo "updating package sources"
|
||||
#apt-get update &> /dev/null
|
||||
#apt-get upgrade -y >> $logfile
|
||||
|
||||
|
||||
## local backups
|
||||
#call backupscripts
|
||||
|
||||
|
||||
## tell my ip
|
||||
|
Loading…
Reference in New Issue