How do I add cron job under Linux or UNIX like operating system?
A. Cron job are used to schedule commands to be executed periodically i.e. to setup commands which will repeatedly run at a set time, you can use the cron jobs.
crontab is the command used to install, deinstall or list the tables used [...]
Archive for October, 2008
CRONTAB AT A GLANCE
October 29, 2008iptables
October 23, 2008#!/bin/sh
#
# iptables.sh
#
# An example of a simple iptables configuration. This script
# can enable ‘masquerading’ and will open user definable ports.
#
###################################################################
# Begin variable declarations and user configuration options ######
#
# Set the location of iptables (default).
IPTABLES=/sbin/iptables
# Local Interfaces
# This is the WAN interface that is our link to the outside world.
# For pppd and pppoe users.
# WAN_IFACE=”ppp0″
WAN_IFACE=”eth0″
#
# [...]
CLAMAV STARTUP and UPDATE SCRIPT
October 21, 2008Create the signature-updater script
cat > clamav_update << “EOF”
#!/bin/sh
/usr/local/bin/freshclam –quiet –stdout –datadir /usr/local/share/clamav –log /var/log/clamav/clam-update.log
EOF
make the script executable
chmod 700 clamav_update
copy the script to /etc/cron.hourly or create an entry in cron
execute the script to update the software
create a startup script (/etc/rc.d/clamav)
#!/bin/sh
FOO_BIN=/usr/sbin/clamd
test -x $FOO_BIN || exit 5
case “$1″ in
start)
echo “Starting `$FOO_BIN -V`”
$FOO_BIN
;;
[...]
Running clamav under daemontools
October 21, 2008Running clamav under daemontools
From : http://qmail.jms1.net/clamav/daemontools.shtml
I have been running ClamAV under daemontools on my server for several months now, with excellent results. This web page explains how I’m doing it.
Create the clamav user
The “clamd” and “freshclam” programs are designed to run in the background. For security reasons, we don’t want these processes to run as [...]
Yahoo Messenger On Linux/Unix
October 17, 2008Yahoo! Messenger for Unix/Linux
Send instant messages to your Windows and Unix friends!
System Requirements
Linux: Yahoo! Messenger runs on the Intel chipset and has been tested on RedHat 6.2, 7.2 and 8 and 9; Debian Woody
FreeBSD: Yahoo! Messenger has been tested on FreeBSD 4.5.
These packages require X Windows, GTK 1.2 or greater, openssl 0.9.6 or greater and [...]


