crontab-info

This commit is contained in:
2022-05-10 10:01:58 +02:00
parent b47bcec4e8
commit 5fe3e7a262

3
crontab-template Normal file
View File

@@ -0,0 +1,3 @@
# Create a leasefile in the correct format and copy it to a folder of your choice.
awk '{if ($1) {$1=strftime("%c",$1); print $1 ";" $2 ";" $3 ";" $4}}' /var/lib/misc/dnsmasq.leases > /tmp/dhcpleases.txt
cp /tmp/dhcpleases.txt /var/www/html/