Thread: default crontab
View Single Post
  #8   (View Single Post)  
Old 13th September 2010
fbroce fbroce is offline
Port Guard
 
Join Date: Oct 2009
Posts: 11
Default re root file

Quote:
Originally Posted by ocicat View Post
Take a look at root's settings at /var/cron/tabs/root.
I have added the default crontab to root. It was empty before that.
The implication is that this runs by default however by default root shows no crontab files. I installed this as the root crontab file however, I am wondering if it runs silently in the background?
-------------------------------------------------------------------------------
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.SYHFZW1Oui installed on Sun Sep 12 10:48:37 2010)
# (Cron version V5.0)
# $OpenBSD: crontab,v 1.18 2009/05/09 17:15:49 schwarze Exp $
#
# /var/cron/tabs/root - root's crontab
#
SHELL=/bin/sh
PATH=/bin:/sbin:/usr/bin:/usr/sbin
HOME=/var/log
#
#minute hour mday month wday command
#
# sendmail clientmqueue runner
#*/30 * * * * /usr/sbin/sendmail -L sm-msp-queue -Ac -q
#
# rotate log files every hour, if necessary
0 * * * * /usr/bin/newsyslog
# send log file notifications, if necessary
#1-59 * * * * /usr/bin/newsyslog -m
#
# do daily/weekly/monthly maintenance
30 1 * * * /bin/sh /etc/daily
30 3 * * 6 /bin/sh /etc/weekly
30 5 1 * * /bin/sh /etc/monthly
#0 * * * * /usr/libexec/spamd-setup
Reply With Quote