Page 1 of 1

Suggestion: Move Greyhole con jobs to cron.daily

Posted: Sat Dec 04, 2010 11:06 am
by jayrock
Hi,

Currently the Greyhole daily cron are only executed if the server is running at 0:00 am. To allow for servers that are powered down at midnight, I'd suggest to move daily fsck and restart cron jobs to from /etc/cron.d to /etc/cron.daily.

I've done it and it works, I guess it's a simple change to the installation procedure.

An advanced option could be to let the users select if fsck should run hourly or daily, ie. move it to /etc/cron.hourly or /etc/cron.daily.

Cheers,

jayrock

Re: Suggestion: Move Greyhole con jobs to cron.daily

Posted: Sat Dec 04, 2010 6:47 pm
by gboudreau
The daily jobs will be gone in the next version of Greyhole.
Only a weekly fsck will be kept.
But it's indeed a good idea to move that one to cron.weekly instead of cron.d to insure it gets run.

Re: Suggestion: Move Greyhole con jobs to cron.daily

Posted: Sat Dec 04, 2010 7:02 pm
by gboudreau
You might want to delete your custom entries in cron.daily now, since the Greyhole update will not remove that.
They are not needed anymore.

Re: Suggestion: Move Greyhole con jobs to cron.daily

Posted: Mon Dec 06, 2010 1:15 pm
by jayrock
Even better, thanks!