View Full Version : [ubuntu] No periodic maintenance scripts?
chowse
March 6th, 2009, 07:41 AM
Hi,
I installed 8.10-server-i386 using "Install a minimal system", and went to configure the daily, weekly, and monthly maintenance scripts that I thought lived in /etc/periodic, and found that directory doesn't exist.
Have we outgrown them, do they live somewhere else, or do I need to install them?
Thanks,
Charles
gombadi
March 6th, 2009, 03:10 PM
I have never seen or heard of /etc/periodic.
Are you meaning cron?
Have a look in -
human@dave:~$ ls -1 -d /etc/cron*
/etc/cron.d
/etc/cron.daily
/etc/cron.hourly
/etc/cron.monthly
/etc/crontab
/etc/cron.weekly
chowse
March 6th, 2009, 04:44 PM
I'm actually referring to this:
<http://www.digipedia.pl/man/periodic.8.html>
gombadi
March 6th, 2009, 05:09 PM
If you have a look in /etc/crontab you will see it uses run-parts
01 * * * * root cd / && run-parts --report /etc/cron.hourly
Will that do what you want?
You may have to create the /etc/periodic directory structure yourself and add some lines to /etc/crontab to run the scripts in each sub-directory when you want.
Looks like periodic itself may not have been ported from FreeBSD to Linux/Ubuntu.
chowse
March 6th, 2009, 05:27 PM
YES!!
That's what I've been looking for.
Thanks for the pointer!
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.