Put a small apple script into your crontab which will look in the System Events log and tell iChat to login if it sees the disconnect event in there.
In a terminal:
crontab -e
*/5 * * * * osascript -e 'tell application "System Events" to if (processes whose name is "iChat") exists then tell application "iChat" to log in'
This blog serves as a dumping ground for my own interests. On it you will find anything which I want to keep track of; links, articles, tips and tricks. Mostly it focuses on C++, Javascript and HTML, linux and performance.
Showing posts with label mac. Show all posts
Showing posts with label mac. Show all posts
Wednesday, 18 April 2012
Saturday, 3 December 2011
OSX: enable nfs
Turn off automount
add AUTOMOUNT=-NO- to /etc/hostconfig
create mount point in fs
sudo mkdir /mnt/raid
add mount command to /etc/fstab
nas:/mnt/raid /mnt/raid nfs noauto,rw,async
restart
add AUTOMOUNT=-NO- to /etc/hostconfig
create mount point in fs
sudo mkdir /mnt/raid
add mount command to /etc/fstab
nas:/mnt/raid /mnt/raid nfs noauto,rw,async
restart
Subscribe to:
Posts (Atom)