Re: cron.hourly/daily/weekly/etc. in rawhide

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mike Chambers wrote:
On Wed, 2009-02-18 at 01:53 +0200, Manuel Wolfshant wrote:
On 02/18/2009 01:26 AM, Mike Chambers wrote:
On Tue, 2009-02-17 at 10:00 +0100, Marcela Maslanova wrote:

The cron daemon is running every hour anacron, which checks whether run cron.{daily,weekly,...} now or not. The setting is stored in /etc/anacrontab where is also possible create random delay. The jobs should be executed as before for usual user on desktop.

I know on servers people often don't use anacron at all because they want to run daily jobs in some time range. This could be now also set in anacrontab. This is discussed here #481775.
Ok, I knew and understood anacron is for running cron jobs that missed
their scheduling for various reasons?  I only asked about anacrontab
because that is the only setting config file I could find that was close
enough to configuring crontab.

Soooo, I guess what I am trying to ask, is if I want my cron.daily to
run at 3:25 every morning, what/where is the file that I set that for?
Because currently my cron.daily (after a fresh install from few days
ago) runs at 4:xxam and I don't know what is making it run at that time
very morning like it used to be.
It seems that /etc/anacrontab is the new config file for botn cron and anacron. Quite confusing, to be honest, I would have expected at least the other way around (have anacron read from /etc/crontab ). But then again, maybe I am wrong...
Well the jobs like cron.{daily, weekly,...} were always in anacrontab and crontab, which leads to running them twice or more, which was solved by ugly hacks. Now are jobs started only from anacrontab. You can still remove jobs from anacrontab and run them from crontab, if you wish.

I also see /etc/cron.d dir and wonder if putting in a file, like 0hourly
is in there currently, and setting it that way for specific times/dates?

I'm not sure what you are asking here. 0hourly run the first minute of hour anacron and anacron checks whether it has to run daily jobs or not.

--
Marcela Mašláňová
BaseOS team Brno

--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux