need default root crontab file
I accidentally stomped on my root crontab file. Now my logs don't get rotated, etc. Does anyone have a copy of the default debian root crontab that they could send me, or does someone know what entries I should add to execute the scripts in cron.daily, cron.weekly, and cron.monthly? -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: need default root crontab file
On Sat, Jan 03, 1998 at 12:03:18PM -0500, Larry Owens wrote: I accidentally stomped on my root crontab file. Now my logs don't get rotated, etc. Does anyone have a copy of the default debian root crontab that they could send me, or does someone know what entries I should add to execute the scripts in cron.daily, cron.weekly, and cron.monthly? Extract them from the package cron (I believe they're inside, otherwise look at the debianutils package). Just re-install the package and you're done. Regards Joey -- / Martin Schulze * [EMAIL PROTECTED] * 26129 Oldenburg / /Erfahrung ist eine nützliche Sache / / Leider macht man sie immer erst kurz nachdem man sie brauchte / -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: need default root crontab file
On Sat, 3 Jan 1998, Larry Owens wrote: I accidentally stomped on my root crontab file. Now my logs don't get rotated, etc. Does anyone have a copy of the default debian root crontab that they could send me, or does someone know what entries I should add to execute the scripts in cron.daily, cron.weekly, and cron.monthly? My entries are commented out because I use anacron: [EMAIL PROTECTED](p1):bhmit1$ more /etc/crontab # /etc/crontab: system-wide crontab # Unlike any other crontab you don't have to run the `crontab' # command to install the new version when you edit this file. # This file also has a username field, that none of the other crontabs do. SHELL=/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin # m h dom mon dow user command #05 12 * * * rootrun-parts /etc/cron.daily #12 12 * * 7 rootrun-parts /etc/cron.weekly #20 12 1 * * rootrun-parts /etc/cron.monthly HTH, Brandon - Brandon Mitchell [EMAIL PROTECTED] We all know linux is great... it PGP: finger -l [EMAIL PROTECTED] does infinite loops in 5 seconds Phone: (757) 221-4847 --Linus Torvalds -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .