149 reputation
4
bio website
location
age
visits member for 6 months
seen Jan 5 at 22:37
stats profile views 19

Dec
6
accepted kernel: mdadm: sending ioctl 1261 to a partition!
Dec
6
asked kernel: mdadm: sending ioctl 1261 to a partition!
Nov
19
accepted Slow boot, how to program fsck to run like a cron job?
Nov
19
comment Slow boot, how to program fsck to run like a cron job?
Ok I will try that and the bootlogd thing, thanks.
Nov
19
comment Slow boot, how to program fsck to run like a cron job?
My guess was that if errors get acumulated on the disk, rebooting and running fsck frequently would prevent a terribly slow boot after a crash.
Nov
19
comment Slow boot, how to program fsck to run like a cron job?
Yes I understand that. I set it to run weekly and I also set a cron to reboot weekly.
Nov
19
comment Slow boot, how to program fsck to run like a cron job?
"I don't really understand what you mean by being "out of sync"" I mean that if I set it to run 1w, then check the date and it says eg: Sun 20 05:00:00, then set a cron to reboot weekly starting on Sun 20 05:01, fsck will run on say Sun 20 05:01:02, and its next date will be Sun 27 05:01:02. I think that's how it works, and will get out of sync with the reboot cron.
Nov
19
asked Slow boot, how to program fsck to run like a cron job?
Nov
19
comment Cronjob for rebooting everyday
@derobert That's fantastic, thanks!
Nov
18
comment Cronjob for rebooting everyday
Thanks. I don't have a MTA configured so I tried redirecting the output to a file. I had to use the absolute path to reboot, that worked fine.
Nov
18
awarded  Scholar
Nov
18
accepted Cronjob for rebooting everyday
Nov
18
awarded  Commentator
Nov
18
awarded  Supporter
Nov
18
comment Cronjob for rebooting everyday
Now we are talking! I'm gonna try this, thanks
Nov
17
comment Cronjob for rebooting everyday
@DennisKaarsemaker Thanks, I will try that.
Nov
17
comment Cronjob for rebooting everyday
@Mat Because I don't want surprises. Sometimes it goes down, and then it takes hours to come back. The delay in coming back only happens when it's been up for too long. So I prefer to reboot everyday at 5 am when there aren't many visits (it's a web server). It comes back so fast that it manages to answer pending requests before they time out. I'm not a sysadmin, so there might be a better way obviously. But right now I need this.
Nov
17
asked Cronjob for rebooting everyday
Nov
15
awarded  Student
Nov
15
asked Is there an option to make sed fail if pattern not found?