I've written a bash script to get my SSID and accordingly set my network preferences (on a Mac). The script works well in an interactive shell but fails to work similarly when invoked thro cron. ssid = `networksetup -getairportnetwork| cut -d : -f 2` echo $ssid ESSID found.
gives me the SSID of my access point. Output is MOHAN-DSL ESSID found. script contents: ssid = `networksetup -getairportnetwork| cut -d : -f 2` echo $ssid ESSID found. is invoked using */3 * * * * script > logfile in crontab. cat logfile shows just ESSID found. Any pointers? Mohan _______________________________________________ To unsubscribe, email [EMAIL PROTECTED] with "unsubscribe <password> <address>" in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
