TeamViewer Forum

General Category => Teamviewer for Mac/iPad/iPhone => Topic started by: arob on January 21, 2015, 08:24:01 AM

Title: Local Connection Only
Post by: arob on January 21, 2015, 08:24:01 AM
Running TeamViewer 9 on OS X 10.10 Yosemite. Every day, the computer becomes inaccessible from remote, it seems to lose connection with the WAN and requires the app be restarted to re-establish WAN connection capability.

From Terminal, easiest way to restart is "killall TeamViewer". To assist with remote access from the WAN, I setup cron to run the killall command 2x per day:

01 01 * * * /usr/bin/killall TeamViewer
11 01 * * * /usr/bin/killall TeamViewer

What this does is restart TV at 1:01 AM and 11:01 AM daily.

Use crontab -e and use vi to add the above lines, the esc > :wq! to save the cron. Use crontab -l to confirm the edits.