December 18, 2009

cronjobs

* To list all cronjobs for all users
cat /var/spool/cron/* | grep -v "^#"

* List entire processes
top -b -n1 -c

* Setting a cron to allow a user to update his awstats
50 0 * * * perl /usr/local/cpanel/base/awstats.pl -config=domain.com -update
MAILTO="spcgeopc@gmail.com"

No comments:

Post a Comment