Hey,
Maybe I'm really annoying these days because I'm reconfiguring my box and I'm trying to make my box as personal as I can but I'm a newbie (aka n00b) in Linux stuff, se here I go:
I browsed through Ubuntu, Debian and general Linux forums looking for clues on how to change the time when the "hourly", "daily", "weekly" and "monthly" cron jobs run. I found that it is configured in /etc/crontab. I modified it at my needs and now it looks like this:
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# m h dom mon dow user command
20 * * * * root cd / && run-parts --report /etc/cron.hourly
0 10 * * * root test -x /usr/sbin/anacron | | ( cd / && run-parts --report /etc/cron.daily )
0 16 * * 7 root test -x /usr/sbin/anacron | | ( cd / && run-parts --report /etc/cron.weekly )
0 13 1 * * root test -x /usr/sbin/anacron | | ( cd / && run-parts --report /etc/cron.monthly )
#
I have only modified the times as in some forums said. Then, I created a scheduled job (MySQL backup) set to run "hourly". Regarding the 'custom' crontab file, it should have run 20 minutes past every hour, but the backup was executed at an hour o'clock. Is that because OpenMediaVault uses another configuration file for the cronjobs?
PS: I rebooted my machine after editing my crontab file so the cron daemon would be reloaded just in case...
Thanks in advance and sorry for the annoyance! I'm trying to learn so later I can help some people out there also...
Guillem.