NetBSD Accidently deleted crontab for root | Unix Linux Forums | BSD

  Go Back    


BSD BSD, sometimes called Berkeley Unix, is a Unix operating system developed by the Computer Systems Research Group of the UC Berkeley.

NetBSD Accidently deleted crontab for root

BSD


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 02-07-2013
batence batence is offline
Registered User
 
Join Date: Feb 2013
Last Activity: 12 March 2013, 5:56 AM EDT
Location: 127.0.0.1
Posts: 1
Thanks: 0
Thanked 1 Time in 1 Post
NetBSD Accidently deleted crontab for root

Someone can told me where from get the default crontab settings of root for NetBSD 6.0 please

### SOLVED ###
The default crontab rules are in etc.tgz /var/cron/tabs/root


Code:
#	$NetBSD: crontab,v 1.15 2002/11/27 15:09:17 perry Exp $
#
# /var/cron/tabs/root - root's crontab for NetBSD
#
SHELL=/bin/sh
PATH=/bin:/sbin:/usr/bin:/usr/sbin
HOME=/var/log
CRON_WITHIN=7200
#
#minute	hour	mday	month	wday	command
#
*/10	*	*	*	*	/usr/libexec/atrun
#
# rotate log files every hour, if necessary
0	*	*	*	*	/usr/bin/newsyslog
#
# do daily/weekly/monthly maintenance
15	3	*	*	*	/bin/sh /etc/daily 2>&1 | tee /var/log/daily.out | sendmail -t
30	4	*	*	6	/bin/sh /etc/weekly 2>&1 | tee /var/log/weekly.out | sendmail -t
#30	5	1	*	*	/bin/sh /etc/monthly 2>&1 | tee /var/log/monthly.out | sendmail -t


Last edited by batence; 02-08-2013 at 05:16 AM..
The Following User Says Thank You to batence For This Useful Post:
alister (03-20-2013)
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Accidently deleted /usr contents. chacko193 Shell Programming and Scripting 19 01-30-2013 03:54 AM
Who deleted crontab? mehimadri Shell Programming and Scripting 5 11-15-2009 11:39 AM
Netbsd root device not found septima.pars BSD 1 09-03-2009 07:10 PM
crontab deleted accidently unisam UNIX for Dummies Questions & Answers 3 05-27-2004 04:51 PM
crontab entries deleted !! minazk UNIX for Advanced & Expert Users 6 11-22-2002 03:27 PM



All times are GMT -4. The time now is 08:33 PM.