gboudreau / Greyhole

Greyhole uses Samba to create a storage pool of all your available hard drives, and allows you to create redundant copies of the files you store.
http://www.greyhole.net
GNU General Public License v3.0
258 stars 35 forks source link

Change fsck cron timing #310

Open old-square-eyes opened 1 year ago

old-square-eyes commented 1 year ago

Hi. I wanted to change all the cron times to overnight (start at 3am ish). All I can find is this...

https://wiki.amahi.org/index.php/Greyhole_Tips

Which is pretty vague about how/when the tasks are set to run. It says ~4am, but mine seems to kick off at 5pm. Also there is a daily happening around 8am. I thought the daily only occurred if config changed?

I appreciate the notifications are coming from Openmediavault. I didn't configure anything special in Greyhole or OMV for that, so presumably it's just reporting on any system cron events. I have looked through the system cron files but there are many and nested. I know OMV will overwrite some stuff too so wanted to check here first.

Daily e.g.

image

Weekly e.g.

image
gboudreau commented 1 year ago

Greyhole uses cron.daily to run daily; it doesn't specify at what time it should run.

This should let you find and change the time for the cron.daily jobs (including Greyhole's): https://serverfault.com/questions/431013/how-to-change-the-time-cron-daily-is-run-in-linux