install xcode command line tools in mac os x snow leopard server
Reply
sudo vim /etc/syslog.conf
add
cron.* /var/log/cron.log
sudo launchctl unload /System/Library/LaunchDaemons/com.apple.syslogd.plist
sudo launchctl load /System/Library/LaunchDaemons/com.apple.syslogd.plist
This will enable logging for cronjobs.
If you need apache, mysql and php for your Mac, you can download the MAMP package from here.
yum install arpwatch
arpwatch -i eth0
chkconfig arpwatch on
to send email notification edit the following file
vim /etc/sysconfig/arpwatch
OPTIONS="-u arpwatch -e [email protected] -s 'root (Arpwatch)'"
service arpwatch restart