2021-09-27 10:38:12 +02:00
|
|
|
#!/bin/sh
|
2021-02-06 16:14:05 +01:00
|
|
|
#
|
|
|
|
# Syntax: ./daily-tasks.sh
|
|
|
|
# Description: execute PowerShell scripts automatically as daily tasks (Linux only)
|
|
|
|
# copy this script to /etc/cron.daily and adapt it
|
|
|
|
# Author: Markus Fleschutz
|
|
|
|
# License: CC0
|
|
|
|
|
|
|
|
HOMEDIR=/home/mf
|
|
|
|
# adapt this to your home directory
|
|
|
|
|
|
|
|
$HOMEDIR/PowerShell/Scripts/query-smart-data.ps1 $HOMEDIR
|
|
|
|
# to query S.M.A.R.T. data of all your HDD's/SSD's
|
|
|
|
|
2021-03-20 16:44:17 +01:00
|
|
|
$HOMEDIR/PowerShell/Scripts/check-dns-resolution.ps1
|
2021-02-12 12:21:04 +01:00
|
|
|
# to train the DNS cache with frequently used domain names
|
2021-02-06 16:14:05 +01:00
|
|
|
|
|
|
|
exit 0
|