Suggestion: Move Greyhole con jobs to cron.daily

User avatar
jayrock
Posts: 223
Joined: Thu Dec 02, 2010 12:55 am

Suggestion: Move Greyhole con jobs to cron.daily

Postby jayrock » Sat Dec 04, 2010 11:06 am

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

User avatar
gboudreau
Posts: 606
Joined: Sat Jan 23, 2010 1:15 pm
Location: Montréal, Canada
Contact:

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

Postby gboudreau » Sat Dec 04, 2010 6:47 pm

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.
- Guillaume Boudreau

User avatar
gboudreau
Posts: 606
Joined: Sat Jan 23, 2010 1:15 pm
Location: Montréal, Canada
Contact:

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

Postby gboudreau » Sat Dec 04, 2010 7:02 pm

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.
- Guillaume Boudreau

User avatar
jayrock
Posts: 223
Joined: Thu Dec 02, 2010 12:55 am

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

Postby jayrock » Mon Dec 06, 2010 1:15 pm

Even better, thanks!

Who is online

Users browsing this forum: No registered users and 26 guests