Ubuntu Pastebin

Paste from Petrushka at Sun, 1 May 2016 21:17:44 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
This is my script, which is /home/alador/wifitoggle:

#!/bin/bash
PATH=/home/alador:/usr/bin
nmcli nm wifi off
nmcli nm wifi on

This is my crontab entry:

PATH=/home/alador:/usr/bin
12 17 * * * /home/alador/wifitoggle

This is the message in /var/log/syslog:

May  1 17:12:01 WINTERFELL CRON[23348]: (alador) CMD (/home/alador/wifitoggle)
May  1 17:12:25 WINTERFELL wpa_supplicant[1320]: wlan0: CTRL-EVENT-SCAN-STARTED
May  1 17:12:29 WINTERFELL wpa_supplicant[1320]: nl80211: send_and_recv->nl_recvmsgs failed: -33
Download as text